PJ wrote:
Michael A. Peters wrote:
PJ wrote:
Well, I think 60+ checkboxes get kind of garbagy
I bet it is easier to select the fields you want from 4 columns of 15
checkboxes than from a big long list of 60 in a select.
But you might be right. I don't design for a living.
Neither do I; it's rather a question of necessity: "do or die!" :-)
But I'm glad you brought this up.
Only problem is, I think that the code to gather the 60+ inputs would
get long and more complicated than dealing with the multiple input
dropdown box.
Probably a matter of personal choice.
Thanks.
Have not tried it with check boxes but it works with file uploads -
<input type="checkbox" name="something[]" value="yourvalue"/>
A bunch of those all with something[] and they will all be in same post
array variable. Just make sure yourvalue is unique to the checkbox, so
you know which checkboxes were selected.
I've not tried that, but name="something[]" works with file inputs so
that they are all in same post variable as an array.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php