Sep 12th, 2011, 6:59 PM
Hello,
This is my first post, I guess is something stupid, but I cannot find anything in the documentation about this:
The problem is a dropdown field, when I see the submission in formtools, I got the dropdown text instead of the value:
In the example, if I choose January, the form passes "January" as field content, when is supposed that it should pass the value, that is "1".
Any ideas why this happens?
I paste the field as it appears in the form following:
<select size="1" name="Destination1_FromMonth">
<option value="0" selected>Month</option>
<option value="1">January</option>
<option value="2">February</option>
<option value="3">March</option>
<option value="4">April</option>
<option value="5">May</option>
<option value="6">June</option>
<option value="7">July</option>
<option value="8">August</option>
<option value="9">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select>
This is my first post, I guess is something stupid, but I cannot find anything in the documentation about this:
The problem is a dropdown field, when I see the submission in formtools, I got the dropdown text instead of the value:
In the example, if I choose January, the form passes "January" as field content, when is supposed that it should pass the value, that is "1".
Any ideas why this happens?
I paste the field as it appears in the form following:
<select size="1" name="Destination1_FromMonth">
<option value="0" selected>Month</option>
<option value="1">January</option>
<option value="2">February</option>
<option value="3">March</option>
<option value="4">April</option>
<option value="5">May</option>
<option value="6">June</option>
<option value="7">July</option>
<option value="8">August</option>
<option value="9">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select>