-
macallistermachineryAsked on September 30, 2020 at 12:30 PM
I have a form that lists store locations in a dropdown field. The option label seen by the user needs to be the name of the store, but the submitted value needs to be the store number.
How can I set the option labels and values independently of each other?
From this:
<option value="IN - Bloomington RS"> IN - Bloomington RS </option>
to this:
<option value="123"> IN - Bloomington RS </option>
-
David JotForm Support ManagerReplied on September 30, 2020 at 5:43 PM
Good day, you can assign values to each dropdown option as shown on this guide: https://www.jotform.com/help/301-How-to-Assign-Calculation-Value
Then, you can grab that value with a Form Calculation widget, example:
Let us know if you need more help.
-
macallistermachineryReplied on September 30, 2020 at 8:19 PM
Seems like a roundabout way to do this, but it works. Thank you very much for the reply and especially for the video!