Welcome, Guest
Username: Password: Remember me

TOPIC: Dropdowns that store other than what is selected

Dropdowns that store other than what is selected 2 years 3 months ago #77751

  • steinj
  • steinj's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Hi,

I have a design requirement that must use a dropdown that displays, as an example, options red, blue, green, yellow in the dropdown. Instead of storing the color, I would like the dropdown to store, 1,2,3, or 4 depending on the color selected.

Does anyone have an ideas as to how this could be done? I have about 4o of these and some of them have up to 15 dropdown items.

Thanks very much.
The administrator has disabled public write access.

Re: Dropdowns that store other than what is selected 2 years 3 months ago #77757

  • steinj
  • steinj's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Turns out that this is done through the code field. For some reason, noob that I am, I thought the answer (dropdown item) was stored. Instead, the code field is stored. So glad that this is the case.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.099 seconds
Donation Image