boo_lolly Posted November 29, 2006 Share Posted November 29, 2006 my pre-populated input fields are ending the value as soon as it hits a whitespace. for example. one input field that is pre-populated has an address. 1234 SomeStreet, right? well, the input field will only display 1234. is there a way or a function that is the antithesis of trim()? is this how i would fix the problem? Link to comment https://forums.phpfreaks.com/topic/28910-trim/ Share on other sites More sharing options...
jcbarr Posted November 29, 2006 Share Posted November 29, 2006 Show us the code. If the input is not enclosed in the correct syntax that could be what is causing your problem. Link to comment https://forums.phpfreaks.com/topic/28910-trim/#findComment-132369 Share on other sites More sharing options...
sw0o0sh Posted November 29, 2006 Share Posted November 29, 2006 [quote author=boo_lolly link=topic=116765.msg475914#msg475914 date=1164836779]my pre-populated input fields are ending the value as soon as it hits a whitespace. for example. one input field that is pre-populated has an address. 1234 SomeStreet, right? well, the input field will only display 1234. is there a way or a function that is the antithesis of trim()? is this how i would fix the problem?[/quote]perhaps replacing your spaces with %20 ? I don't really get what your asking here, so just a thought as it worked for me on an issue I was having like that with Javascript. Link to comment https://forums.phpfreaks.com/topic/28910-trim/#findComment-132372 Share on other sites More sharing options...
trq Posted November 29, 2006 Share Posted November 29, 2006 This is usually caused by malformed html. Are you surrounding your values in quotes? Link to comment https://forums.phpfreaks.com/topic/28910-trim/#findComment-132424 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.