Forum Moderators: open
Also, a way to have a fill-in area in an option area. This would enable someome to fill in as well as pick an option
Thanks,
Jillian
<SELECT multiple name="selection[]">
<OPTION>value 1</OPTION>
<OPTION>value 2</OPTION>
<OPTION>value 3</OPTION>
</SELECT>
this shows up after form submission as an array.
There's no clean way to to the second - various threads on this site talk about using JavaScript to show/hide the option list and a textbox but you're better off IMHO having the option list followed by an input box for 'Other' values.
<select name="whatever" multiple>
then gave each option it's own name eg
<option name="option1">Option 1</option>
<option name="option2">Option 2</option>
The form returns option1 = TRUE if selected,
Unfortunately, I tried this and it didn't work. Using the get method I just got
url?whatever=option+1&whatever=option+2
There must be a way but to be honest, can't you just use check boxes? This negates the user's need to ctrl+click for each option so would be better for usability.
Nick