This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
Dropdown list not entering correct values
Started 17 years ago by bullcrappy111 | 2 posts |
-
Hi,
I have a few dropdown lists on my form containing the numbers 10,9,8,7,6,5,4,3,2,1 and when I fill out the form and select let's say 9 from the dropdown, the data in the mysql is stored as 2 (I guess the second item in the dropdown?) How can I make it so it stores the value that I select, "9", instead of the order that the item is in the dropdown?
Thank you very much!
Posted 17 years ago # -
Actually, those are not order no.
When dealing with dropdown, MachForm assign unique option_id for each values (since the dropdown values could be numbers or texts or combination).
So I don't think it's possible to store the actual values. Otherwise it will broke the other functionality.
If you are trying to write an SQL query, your query need to lookup ap_element_options table to get those values.
MachForm Founder
Posted 17 years ago #
Reply
You must log in to post.