Welcome Guest, Not a member yet? Register   Sign In
Problem with form_dropdown fields
#1

[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


Messages In This Thread
Problem with form_dropdown fields - by El Forum - 12-31-2010, 05:27 AM
Problem with form_dropdown fields - by El Forum - 01-01-2011, 09:49 PM
Problem with form_dropdown fields - by El Forum - 07-07-2011, 09:22 AM
Problem with form_dropdown fields - by El Forum - 07-07-2011, 10:30 AM
Problem with form_dropdown fields - by El Forum - 07-07-2011, 10:32 AM
Problem with form_dropdown fields - by El Forum - 07-07-2011, 01:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB