[eluser]caperquy[/eluser]
I am generating a drop-down field using form_dropdown. The result I get is something like this :
<option value="0">January</option>
<option value="1">February</option>
<option value="2">March</option>
The only problem I have is that when my controller receives the selected value, 1 for example, I do not know how to catch the string February which is associated with it. I thought that It might possible to generate something like
<option value="January">January</option>
<option value="February">February</option>
<option value="March">March</option>
but I do not know how to do that.
Many thanks to whoever can help.
CapErquy