What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Dropdown Field: No option selected points to the first Calculation value

    Asked by sthaker on March 12, 2015 at 11:28 PM

    I have a survey that calculates a donation amount based on how the user answers certain questions. The final total that gets calculated seems to be off by $10 and I can't figure out where that extra amount is coming from. I created a few hidden fields to check the sub-total amount and these all seem to be correct, however when I add them together I get a value that is 10 greater than it should be. Could you please assist?

    Page URL:
    https://secure.jotform.us/form/50667889963175

    in survey hidden check donation
  • Profile Image
    JotForm Support

    Answered by Charlie on March 13, 2015 at 09:36 AM

    Hi,

    From what I understand to your formula, I believe the miscalculation happens because of this field:

    By default, it seems that it reads the first calculation value when there is no option selected, so it adds 10 in your total field because the first calculation value is 10.

    To fix it, what you need is add a "0" value as the first one in the list. Here's a screenshot of it:

    That should fix it. Let us know if it works.

    Thank you.