Dropdown value mistake

  • Profile Image
    vim00010
    Asked on April 07, 2017 at 07:10 AM

    HI,

     

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

     

    can someone tell me why?

  • Profile Image
    Sven
    Answered on April 07, 2017 at 08: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:

    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:

     

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

     

    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.