populating a field from a hidden drop down with a default value on submit

  • superiorglove
    Asked on April 5, 2016 at 11:46 AM

    Hello,

    We have a number of hidden drop downs that contain predefined values set as defaults.  Conditional logic on another field is supposed to copy the value from the predefined field to a common field for display in the thank you page.

    It seems that the common field is not always updated with the correct value.  

    There are 81 conditionals the fire based on a drop down for selecting and industry (27 industries * 3 stats).  Is there a better way of achieving what we a looking to do?

    Our form is: Clone of Safety

     

    Can you also please respond to jeffery.murray@superiorglove.com since I am doing the work for the account holder.

     

    Thanks,

    Jeff

  • Kiran Support Team Lead
    Replied on April 5, 2016 at 12:47 PM

    I see that there are 3 categories that the conditions being set on your form. To my understanding, the default values from the textbox/dropdown values based on selection of Industry field are displayed in the Thank you page. 

    Please allow me sometime to check on this and get back to you with relevant information. Thank you for your patience. 

  • Kiran Support Team Lead
    Replied on April 5, 2016 at 6:28 PM

    Thank you for being patient. Here is a demo form that I come up after checking your JotForm. 

    https://form.jotform.com/60954947670973

    Here is what I did on the form to decrease the count of conditions, fields on the form.

    1. I choose radio buttons instead of drop down fields. These fields can be hidden later once we are done with the calculations on the form.

     

    populating a field from a hidden drop down with a default value on submit Image 1 Screenshot 50

    2. I've assigned the calculation values for each statistic based on the Industry. This can avoid having multiple fields with default values on the form.

    populating a field from a hidden drop down with a default value on submit Image 2 Screenshot 61

    3. Please make sure that you are having the same options set on each statistic as we have in the Industry.

    4. I set the conditions to copy the Industry value to the each statistic based on the selection. 

    populating a field from a hidden drop down with a default value on submit Image 3 Screenshot 72

    5. Since we need to get the calculation value of the statistic to display in the Thank you page, we add the calculation widget for each statistic to the form to get the calculation value of the statistic based on the Industry field selection.

     

     populating a field from a hidden drop down with a default value on submit Image 4 Screenshot 83

    6. Now, on the Thank you page you can display the value of the Calculation widget field for the selected industry.

    You may clone the form to your account to see how it works.

    Hope this information helps! If you need any further assistance, please let us know. We will be happy to assist.