busboy — 2011-05-24T20:55:50-04:00 — #1
I have a page where people can update their personal account settings. It populates the form fields with variables that are stored in the session. Even though the variable often has two or more words in it, the form is only displaying the first word. In the example below, only Healing shows up in the companyName field. This is really weird and was wondering if anyone had any ideas on why this is happening.
[companyName] => Healing Spices
cute_tink — 2011-05-24T21:49:53-04:00 — #2
Are you properly quoting the value in the HTML form? i.e.:
<input type="text" value="Some value" />
If you don't put them in quotes, the form will drop everything after the space.
busboy — 2011-05-24T22:55:30-04:00 — #3
Thank you, that did the trick.