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.
Why my form conditions doesn't work as expected?Asked by rservus on June 14, 2013 at 09:17 AM
I created sample form which you can see here http://www.jotform.com//?formID=31643185680355
The idea behind this form is to show as much age fields as user has children (see Children combobox).
Can you check please why condition rules doesn't work.
I have cloned your form and made some changes on the conditions you have made. Here is the screenshot on the changes made on the conditions, which you can then apply to your form.
Hope this helps.
thank you for answer, but I can't access your test form - "form has been deleted by the owner".
anyhow, your rules (on screenshot) doesn't describe what I need to achive.
show age1 field only when user selects "one" in the children combobox
show both age1 and age2 fields when user selects "two" in children combobox
show age1, age2 and age3 fields when user selects "three" in children combobox
show none of ages fields when "none" selected or no choice has been made in the children combo.
I've changed conditions on my form, and now it shows only one age field (age1 - when "one" selected, age2 - when "two" selected and so on) - that's not what I need.
Please help me whith conditions on that form, we are going to subsribe for paid plan ( 6 forms and ~30 fields each, dived by 3 pages) but before we need to make shure that we can build forms we needed.
Please set the condition similar to the image below.
The condition you have created was incomplete, the reason the field are not showing like you want it to. You also need not to set the hide field as you have already set the condition to show the field when only the rule is met meaning it will automatically hide the field when the rule is not selected.
I have created a clone form in your account for additional reference which can be found on this link.
If you need further assistance, please contact us again.
I'm not convinced that the source of error is user side when comes to SHOW/HIDE and GOTOPAGE conditions.
I have problems with them too: first all worked, then after some more editing it crapped itself and just goes next and next showing all fields (that are supposed to be hidden) everywhere. Check my form: http://form.jotform.co/form/31668351457864 - every condition is set properly.
The problem is, if you clone it it will work for the first time. But once you start modifying, adding-removing page breaks and whatnot (not sure where it all got screwed up), suddenly you lose all the conditions to function, but they show up nicely in the editor. Some of them shows up twice even:) yet removing one of them removes both.
II think the editor is buggy, from the logic that if you for example create a link to a page (if condition then jump to page X when clicking Next), and then you add another page inbetween the condition and the page you're referring to, then it won't follow the page reference, and you'll end up on the wrong page - the page before that is before the one that you referenced to.
I have checked your form and found the bug you are experiencing with condition editor. Can you please create a separate thread stating the issue you are having with the condition editor . Once you have created the thread, we will be able to forward your concern to our developers to investigate what is causing this issue.
Thank you very much, now it works, but I can't get why same (duplicated) rules are created when you have OR condition in rule itself. It is confuising a bit.
Also, when you try delete duplicated rule, all rules are removed (i.e. for age 1 all 3 rules are removed at once).
I suggest revamping your Conditional Logic to this process:
1. Add the "Spinner" field under Survey Tools instead of number or dropdown fields.
2. In Conditional Logic wizard, set your conditional logic as follows:
then repeat the process for two:
then repeat the process for three: