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

    Why my form conditions doesn't work as expected?

    Asked by rservus on June 14, 2013 at 09:17 AM

    Hello,

    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.

     

     

    Page URL:
    http://www.jotform.com//?formID=31643185680355

    doesn't work JotForm sample form check www
  • Profile Image

    Answered by moonzkie on June 14, 2013 at 11:59 AM

    Hi,

    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.

    Test: http://form.jotformpro.com/form/31644760083958

    Hope this helps. 

    Thank you.

  • Profile Image

    Answered by rservus on June 17, 2013 at 07:56 AM

    Hi,

    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.

    We need:

    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.

  • Profile Image

    Answered by jefreylandicho on June 17, 2013 at 08:29 AM

    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.

  • Profile Image

    Answered by nagypeterendre on June 17, 2013 at 08:57 AM

    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.

  • Profile Image

    Answered by jefreylandicho on June 17, 2013 at 09:24 AM

    @nagypeterendre

    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.

     

  • Profile Image

    Answered by rservus on June 17, 2013 at 11:25 AM

    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).

  • Profile Image
    JotForm Support

    Answered by Welvin on June 17, 2013 at 01:25 PM

    Hi,

    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:

     

    Thanks