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

    How can I do a conditional inside of a conditional?

    Asked by Francislawcenter on June 27, 2017 at 05:12 PM

    Hi.

    So I'm making a form where people have to answer a set of questions. 

    I already made the first conditional which is, "How many child(s) does the Guest have?" (This is like the MAIN question)

    The options are 0, 1, 2, or 3. This conditional worked out fine. But this is where the problem starts. If the Guest has a child, then they have to answer "Does the child live with the Guest?" If the answer is no, then a entry for the address where the child lives should pop up. I tried it several times and I'm confused as to how to do a conditional inside of a conditional several times.

    I'm aware of how to do a conditional inside of a conditional ONCE, but not if I have to make it many times. To explain it further, if the guest has 2 kids, for example, then I would have to make the conditional for the address pop up and work for both the kids. Same goes for 3.

    Sorry if it's confusing.

    Thank you.

  • Profile Image
    JotForm Support

    Answered by Mike on June 27, 2017 at 07:17 PM

    You will need to setup additional (separate) conditions.

    For example:

    Condition #1
    If "Does the child live with the Guest?" Is Equal to "No"

    Then Show "Address where the child lives"

    Condition #2
    If "Does the child #2 live with the Guest?" Is Equal to "No"

    Then Show "Address where the child #2 lives"

    etc.

    If I am missing something, please let me know.