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

    conditional logic problem when using multiple form collapses

    Asked by sfdc on January 18, 2016 at 08:33 PM

    I've been trying to set up a registration form that has a series of form collapses, so if a second camper is to be registered, it will open up another section of fields to enter the 2nd camper's info, then a 3rd camper, etc. - up to 4 campers. But whenever I change the conditional logic for one of the form collapses it automatically changes the logic on all the other form collapses to be the same! I don't want that, because then the progression won't work. Why is this happening?

    https://www.jotform.com//?formID=60154695539161

     

    Page URL:
    https://www.jotform.com//?formID=60154695539161

  • Profile Image
    JotForm Support

    Answered by EltonCris on January 19, 2016 at 04:11 AM

    Hello,

    I got it to work on a cloned version of your form https://form.jotform.com/60182299639971. Not sure about the problem you're facing. Kindly note that on the condition wizard, when creating rules (IF condition), not all fields are shown on the drop down simply because they can't be used as the rule condition.

    Here are the conditions on this form.

    I suggest to clone this form so you can view the conditions.

    Hope this helps!

  • Profile Image

    Answered by sfdc on January 19, 2016 at 06:50 AM

    Hi Elton, I get a message that says the form at that link is unavailable.

  • Profile Image
    JotForm Support

    Answered by EltonCris on January 19, 2016 at 07:34 AM

    Not sure what happened on that form but here's another one https://form.jotform.com/60183632621954

    You can also set the collapse open by default if you want the fields to automatically appear once it's shown.

  • Profile Image

    Answered by sfdc on January 19, 2016 at 07:45 AM
    Thank you Elton, this one seems to work. What did you change to make it
    work properly?
    ...
  • Profile Image
    JotForm Support

    Answered by EltonCris on January 19, 2016 at 08:57 AM

    It's easy.

    Since you already have 1 existing condition on that form, I just duplicated it and then edited it accordingly. Since there are multiple "Add another camper fields?" in your form, make sure to browse the appropriate one on the conditions list.

    So for condition 1. Please take note on the numbers, they are sorted according to your form.

    Condition 2:

    Condition 3:

     

    I also set the last collapse field's visibility to hidden and status to open. This will serve as the blocker, so the fields under it will be shown by default.

    Hope this helps!