Hello;
I have several yes/no dropdowns in a very long form as shown.
<select name=[COLOR=Red]\"Box1\">[/COLOR]
<option class=\"text\" value=\"No\">No</option>
<option class=\"text\" value=\"Yes\">Yes</option></select>
<select name=[COLOR=Red]\"Box2\">[/COLOR]
<option value=\"No\">No</option>
<option value=\"Yes\">Yes</option></select>
and then of course I parse the POST variables using PhP $_POST['Box1'] etc..
I would like to know if I can just use one array for these values.
something like...
<select name=[COLOR=Red]\"Box[]\">[/COLOR]
<option value=\"No\">No</option>
<option value=\"Yes\">Yes</option></select>
<select name=[COLOR=Red]\"Box[]\">[/COLOR]
<option value=\"No\">No</option>
<option value=\"Yes\">Yes</option></select>
Is there a way to do this and then retrieve the values with PhP after submit is clicked. I am forced to use separate select containers because of the layout of the form but I want to combine all of the yes/no selections into one array.
thank you,
-cidesign