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

    Radio button doesn't calculate properly

    Asked by wolfpaw69 on October 11, 2016 at 08:36 PM

    On my form a I have a field (Total Termite Inspection Cost) that calculated based upon location.  The base cost is $100 plus travel cost.  If the customer chooses "Yes" it calculates both fields.  If the customer clicks "Yes", then "No", and "Yes" again, they only get charged the base cost.  The field does not calculate upon selection.  How do I fix that?

    In the screen shot below you can see this happening.  The first slide is correct, the second slide the field is hidden because the client selects "No", the third slide the client selects "Yes" again which does not calculate travel cost.

    Page URL:
    https://form.jotform.com/53127112452141

  • Profile Image
    JotForm Support

    Answered by ashwin_d on October 11, 2016 at 11:20 PM

    Hello wolfpaw69,

    I did test your form and I am able to replicate the issue you are having. Let me rework on your form's condition and get back to you soon.

    Thank you!

  • Profile Image

    Answered by wolfpaw69 on October 14, 2016 at 11:52 PM

    Haven't heard back.

  • Profile Image
    JotForm Support

    Answered by EltonCris on October 15, 2016 at 03:54 AM

    @wolfpaw69

    It is because this condition is triggered when you select to NO.

    This resets the Termite Travel Cost value to zero (0) when you select NO.

    So here's how your condition works base on your current setup.

    $125 when YES (100+25)

    $100 when NO (100+0)

    $100 when YES (again)

    Unfortunately, the condition does not analyze what value was taken away and add it back again if needed, unless you have defined that in your condition.

    So to fix it, you will have to create another condition that adds the $25 back when you select YES

    Example:

    Hope this helps!