Dropdown value mistake

  • vim00010
    Asked on April 7, 2017 at 7:10 AM

    HI,

     

    Can anyone help me, i have a form calculation on the below form that isnt working

     

    can someone tell me why?

  • Sven
    Replied on April 7, 2017 at 8:37 AM

    When assigning dropdown values, the first value will be used for empty options, meaning if the dropdown is left empty and none of the options is chosen. I have checked your form, and it looks like you only have two options in your surveying tab:

    Dropdown value mistake Image 1 Screenshot 40

    What this means, is that "0" will be passed if the dropdown is left empty, and "10" if Not needed is selected, that's why when you select needed, it will break the calculation, because there's no value assigned to that option. To fix this, you only need to add "0" at the start of beginning of each dropdown values tab, like this:

    Dropdown value mistake Image 2 Screenshot 51

     

    This will fix the issue and your calculation will work perfectly, as below:

    Dropdown value mistake Image 3 Screenshot 62

     

    I have cloned your form and made the change, if you want, you can clone it to your account and start using it. You can do that using this URL:

    https://form.jotformpro.com/70963058454967

     

    You can find a full guide on how to clone forms here

     

    Thank you.