Check out the LimeSurvey source code on GitHub!

Dropdowns that store other than what is selected

More
4 years 10 months ago #77751 by steinj
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.

Please Log in to join the conversation.

More
4 years 10 months ago #77757 by steinj
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.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form