Does anyone know if it's possible to pass a hidden request parameter in with a <select>
<option>
element in a HTML form?
So for example, if the user selected <option value="foo">foo</option>
from a <select>
list of options, could I somehow pass a hidden value in, as well as the "foo" value, and retrieve that as a request parameter? E.g. <input type="hidden" name="x" value="bar"/>
would enable me to get the values "foo" and "bar" from the request when the user selected the foo option.
Thanks