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

    Do order of conditions care?

    Asked by Forthenvironmentlink on June 15, 2012 at 10:14 AM

    Form Id 21302328285346

     

    Hello,

     

    I need to set up some conditions in a drop box field, so if the applicant's Local Authority Area is Clacks, Falkirk or Stirling, the can see the next link. It works when they select Clacks but not for the other 2.

    Also, if they select the other areas, I want to hide the next two fields and show post code field.

    Is this possible?

    Many thanks

     

    Amparo

  • Profile Image
    JotForm Support

    Answered by NeilVicente on June 15, 2012 at 02:52 PM

    Amparo,

    The order of conditions in the list does not matter. I found a couple issues with the way you constructed your form's conditions.

    1.  A form with page breaks forwards to the next page by default. There is no need to make a condition (such as below) to forward to the next page. You will only need to make conditions to skip certain pages.

     

    2.  This condition's logic is seriously flawed:

    The problem is that the form will always satisfy the rules you have set above and skip to Page 6, no matter which location a person chooses.

    If you choose "Clacks", the statements "Not equals to Falkirk" and "Not equals to Stirling**" are met, hence the form will skip to page 6.

    Same goes when you choose "Falkirk" and "Stirling".

    Solution:

    Delete the condition I have referred to on issue #1 and change "Any" to "All" on the second condition (on issue #2)

     

    Click here to see a modified clone of your form.