View Full Version : Hidden Values for selections on Form

11-07-2007, 03:20 AM
This part of the form is on the page before an "else" statement.

<select name=flag_rule>
<option value=0>-- Please select --
<option value=1>Yes
<option value=2>No

This part of the form is near the submit button after the "else" statement.

<input type="hidden" name="flag_rule" value="What goes here">

If I have a hidden value to be posted, what would go into the value for the hidden type to make the users section enter into the database.

If they select the value 1 or 2 what would my hidden type value be to post the choice they selected to my sql database.

Thank you in advance.

11-07-2007, 04:48 AM
1 or 2