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.
Radio button doesn't calculate properlyAsked 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.
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.
Haven't heard back.
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
Hope this helps!