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.
Understanding the order of conditionsAsked by SunbridgeInstitute on January 12, 2016 at 01:58 PM
It seems as though the default order of conditions is last-to-first based on how they were entered, so that the most recently created conditions are the first conditions to be executed in the form.
What happens when a person is filling out the form and they change their answers, which affects the calculation conditions? Does the logic start all over again from #1? If not, how can I get it to do that?
As I have been testing my form, I see that the calculations are often incorrect, and this seems to happen more often when there was a previous entry held in cache, and I make a change to that entry. I could just clear the cache, but I am also recognizing that it will be common for users to change their mind and/or play with the form while filling it out.
Thank you so much for your help.
Ye, the condition order is the executed the way of the last created. When update or calculating fields, values will remain unless you have another condition that will clear the value. If a users select a dropdown that update a text field A, then changes his mind and select another option that updates text field B. Both text field A and B will have values.
If this text fields are require for another field, this will create a miscalculation. This is probably what you are viewing now. If your users change their minds, you would probably need to create another condition so clear the value of the first field.
Please let us know if this helps.
How can I create another condition to clear the value of the first field? Can you give me an example to get me started?
Here is my demo form: https://form.jotform.com/53031855181956?
If radio button option No is selected data that are entered inside of text box field and text area field will be cleared.
I have accomplish this by creating hidden field which is blank, and I set conditions to pass values from blank field to text box and text area field if radio button option No is selected.
Here is similar form: https://form.jotform.com/53022280076951?
Hope this will help. Let us know if you need further assistance.
Similar to this question, is there a way to have multi-tiered conidition statements? For example if date is greater than today and the name field is not blank, then produce a specific result? I can get each written separately, but I can't find how to write them both together.
You can add as many condition you would like in one statement. When you open the condition, you will notice a BLUE CROSS, pressing this will add a new condition. To remove the condition, you just need to press the GRAY MINUS SIGN