- runningjAsked on February 01, 2017 at 11:33 AM
I have a drop down field that contains 49 values. The values are text. I want a hidden field to display a five digit number based on the value selected from the 49 options in the drop down field.
I'd prefer not to create 49 different conditional logic options to have the 2nd value displayed. Is there a way I can do this?
- JotForm Supportashwin_dAnswered on February 01, 2017 at 11:45 AM
You do not have to add 49 conditions to check the selected option of dropdown field and populate hidden field. You can set "Calculation Values" of each dropdown options. You may like to take a look at the following guide on how to assign calculation values: https://www.jotform.com/help/301-How-to-Assign-Calculation-Value
Here are the steps you should follow:
#1. Add calculation values for each dropdown options.
#2. Add one condition in your form to check if the dropdown field is selected and insert the value in hidden form field.
#3. Alternatively, you can add "Form Calculation" widget and directly read the value of dropdown field. Please check the screenshot below:
Hope this helps.
Do get back to us if you have any questions.