Nov 13th, 2012, 9:47 AM
Hello
I'm using dropdown lists on a form with a number of options, these options are each given a value:
<select name="quality" id="quality">
<option value="5">Excellent</option>
<option value="4">Very good</option>
<option value="3">Good</option>
<option value="2">Average</option>
<option value="1">Poor</option>
</select>
The problem is, when the form is submitted the display text is shown (e.g. 'Very good'. when I what I need to see is the option value '4'. Is there something I can do to change this?
Thanks
I'm using dropdown lists on a form with a number of options, these options are each given a value:
<select name="quality" id="quality">
<option value="5">Excellent</option>
<option value="4">Very good</option>
<option value="3">Good</option>
<option value="2">Average</option>
<option value="1">Poor</option>
</select>
The problem is, when the form is submitted the display text is shown (e.g. 'Very good'. when I what I need to see is the option value '4'. Is there something I can do to change this?
Thanks