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

    Problems with conditional logic

    Asked by lcolten on May 24, 2016 at 12:25 PM

    Regarding this form:

    https://form.jotform.com/61437779272971

     

    Why is my If Do logic working the first time I use it but not the second time in the same form?

    This is a form a parent has to fill out for all the kids in their family and I didn't want it to be such a daunting form by having all the questions for all 5 kids show, if they only had 1 or 2 kids. So I'm asking if they have more kids, and want the questions for kid #2 to show if they say yes. Then it will ask if they have more kids and if they say yes, then the questions for kid #3 will show, etc, etc. 

    It works the first time I ask, but not the next times. Why?

     

    Page URL:
    https://form.jotform.com/61437779272971

    JotForm next parent fill
  • Profile Image
    JotForm Support

    Answered by BJoanna on May 24, 2016 at 01:45 PM

    I have inspected form you provided and you do not have any conditions to hide/show fields. Did you deleted them or are you working on some other form?

    I would suggest you to add form collapse fields to your form and then Show or Hide multiple fields at once using form collapse tool. Inside of this guide you can find how to do it: 

    https://www.jotform.com/help/297-Show-or-Hide-multiple-fields-at-once-using-form-collapse-tool 

    More about conditional logic you can find inside of this guide: 

    https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic 

    https://www.jotform.com/help/196-Hide-or-Show-Multiple-Fields-at-Once 

    I have also made demo form from your cloned form. Here is my demo form: https://form.jotform.com/61445816135960 

    Feel free to test it and clone it

    Hope this will help. Let us know if you need further assistance.