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.
Issues with conditional statementsAsked by CenterforSalesExcellence on September 18, 2014 at 10:13 AM
I am trying to figure out the conditional statements but I think I hit the wall, and would like to get some help. Here is the link to the form - http://form.jotform.us/form/42604247623148
Here is how you can replicate the bug
1) When you get to the form, select No on Q#1, then two sub questions will show up.
2) On the 1st question, Select No, a text field will appear
3) On the 2nd question, Select choice 2, or 3, or 4, a text area will appear
4) Now go back to select Yes on Q#1, all the fields should be hidden but they are not. The Text field, and the Text area are still there. I can use some help to troubleshoot what i am missing here.
Thanks in advance.
I took a look at your form and I see what you mean.
I have cloned your form and added the required changes to it which you can see here:
If you clone the JotForm and go to conditions you will be able to see the condition sets that I have made so that it behaves in the way it does.
My suggestion would be to title the boxes in a way that will allow you to quickly understand which box it is at the start of the field as some conditions boxes do not show entire name, so instead of having
'Only appears if you selected "No" from Q#1-1 not Q#1'
I think it might be easier to follow with 'Q#1-1 NO - Only appears if you selected "No" from Q#1-1 not Q#1'.
If you have a specific scenario that you would like to achieve that might be easier to follow as well.
I hope that this helps you and do let me know if you need any further assistance with this.
Thank you for your quick reply. I tried the form from the link but it looks like it still have that same issues when you selected Yes, not all the fields are hidden.
I found the reason right away. Thing is with conditions that they are literal, so the last time I added a condition to show that field if No was selected on its parent.
Now even if the No was selected and canceled when Yes was selected, this child conditions had still been true and had shown it, because even if it is hidden it will still hold value.
This is what I have changed now:
So we have it looking like this:
Please do try the link again and let me know how it looks :)
Thank you Ben. I did not notice that you can add more than conditions. It makes more sense now to me. There are so much flexibility with JotForm. Again, thank you for your help.
(they are both available over Support menu above).