Conditional Logic with Multiple Pages

  • Profile Image
    angie499
    Asked on April 28, 2026 at 1:49 AM

    I am wanting to create conditional logic to show a certain number of pages in response to a question.

    I am creating a New Client/Patient Form for an animal hospital.

    "How many pets do you have?" If the answer is 1, I would like for it to show a page for Pet #1 and a list of questions. If 2, then 2 pages for Pet #1 and Pet #2, etc.

    What is the best way to go about doing this? I'm having a lot of trouble for some reason.

  • Profile Image
    Podo: Support Specialist
    Replied on April 28, 2026 at 1:49 AM

    Hi Angie,

    Thanks for reaching out to Jotform Support. I'm an AI assistant here to assist you.

    You can use page breaks and conditional logic to control which pages appear in your form. Jotform’s conditional logic includes Skip To/Hide a Page, which is the feature used for page-based branching.

    Here’s how to do it:

    1. Open your form in Form Builder, then click Settings in the top orange bar.
    2. Select Conditions from the left menu.
    3. Click Skip To/Hide a Page to create the page logic.
    4. Set the condition based on the answer to How many pets do you have? and choose which page to skip to or hide.
    5. Save the condition and test the form to make sure the page flow matches the answer.

    Jotform also notes that forms can be built with Page Break elements or the Add New Page Here button, and conditional logic can be used to skip pages in a multipage form depending on user answers.

    For your specific setup, the key point is that each pet section needs to be arranged as its own page, then controlled with Skip To/Hide a Page conditions.

    Give it a try and let us know how it goes.

  • Profile Image
    angie499
    Replied on April 28, 2026 at 1:52 AM

    no I have tried if the answer is 1, hide Pet #2, pet #3, pet #4

    answer is 2, hide pet #3, pet #4

    answer is 3, hide pet #4

    this didn't work.

    I also tried hiding fields but it leaves a blank page for some reason. Why is that?

  • Profile Image
    Podo: Support Specialist
    Replied on April 28, 2026 at 1:53 AM

    Hi Angie,

    Here’s how to do it:

    The blank page usually happens when a page break is still there, but all of the fields on that page are hidden. In that case, the page itself still exists in the form flow, so the form can display an empty page.

    Jotform’s help content also notes that page breaks are what create multi-page forms, and that conditional logic can be used to skip pages in a multipage form depending on user answers. It also says that Section Collapse can be used to show or hide multiple fields together, and that it encompasses all succeeding form elements until another Section Collapse.

    For your setup, the best approach is to keep each pet section as its own page and use Skip To/Hide a Page for the page flow, rather than hiding only the fields inside a page.

    1. Open your form in Form Builder and check where each Page Break is placed.
    2. Make sure each Pet section is separated as a full page, so the form can skip the entire page instead of leaving an empty one behind.
    3. Use Settings and then Conditions to set up Skip To/Hide a Page for the extra Pet pages.
    4. Avoid hiding only the fields inside a page if you do not want blank pages to appear.

    If you want to hide a group of fields together instead of a whole page, Jotform’s help content says Section Collapse can be used for that, and it can show or hide multiple fields at once.

    I don't know this information and our support team will handle your request.

    Reach out again if you need any other help.

  • Profile Image
    angie499
    Replied on April 28, 2026 at 1:58 AM

    how do i hide multiple pages at once?

  • Profile Image
    Podo: Support Specialist
    Replied on April 28, 2026 at 1:58 AM

    Hi Angie,

    Here’s how to do it:

    Jotform’s page breaks are what create multi-page forms. You can add them in two ways:

    1. Use the Page Break element from the left panel in Form Builder.
    2. Click Add New Page Here at the bottom of the form.

    Page Break element in Form Builder Screenshot 10

    Add New Page Here button in Form Builder Screenshot 21

    If you want to hide multiple pages, the pages need to already exist as separate pages in the form. Then you can use Skip To/Hide a Page conditions to control which page the user sees next.

    The important part is that hiding only fields inside a page can leave a blank page behind, because the page break is still there. To avoid that, hide or skip the page itself rather than only the fields on it.

    For your pet form, each pet section should be its own page, and then you can set conditions to skip the extra pet pages based on the answer to How many pets do you have?

    Give it a try and let us know how it goes.

  • Profile Image
    angie499
    Replied on April 28, 2026 at 1:59 AM

    how do i set up the conditions?

  • Profile Image
    Podo: Support Specialist
    Replied on April 28, 2026 at 1:59 AM

    Hi Angie,

    Here’s how to do it:

    1. Open your form in Form Builder, then click Settings in the orange bar at the top.
    2. Select Conditions from the left panel.
    3. Click Skip To/Hide a Page. If you already have a condition, click Add Condition first, then choose Skip To/Hide a Page.
    4. Set the condition using your question, How many pets do you have?, and choose which page should be skipped or hidden for each answer.
    5. Save the condition and test the form to confirm the page flow.

    Form Builder hiding a page using conditional logic Screenshot 10

    The key part is that each pet section needs to be its own page, and the condition should hide or skip the page itself, not just the fields on it.

    If you hide only the fields, the page break can still remain in the form flow, which is why you may see a blank page.

    Reach out again if you need any other help.

  • Profile Image
    angie499
    Replied on April 28, 2026 at 2:09 AM

    Conditional Logic with Multiple Pages Image 1 Screenshot 20

    Why is this not working?

  • Profile Image
    Podo: Support Specialist
    Replied on April 28, 2026 at 2:09 AM

    Hi Angie,

    Here’s how to do it:

    Skip To/Hide a Page is the conditional logic type used for page flow. Jotform’s conditional logic uses IF/THEN checks, where the IF statement is the condition and the THEN statement is the action.

    For a multipage form, the pages need to already exist as separate pages. Then you can set conditions under Settings and Conditions to skip pages depending on the answer.

    Important: hiding only fields changes field visibility, but it does not remove the page break. That is why you can still see a blank page. To avoid that, use Skip To/Hide a Page on the page itself instead of hiding the fields inside it.

    Here is the general setup:

    1. Open your form in Form Builder.
    2. Go to Settings and then Conditions.
    3. Choose Skip To/Hide a Page.
    4. Set the IF condition using How many pets do you have? and then choose the page to skip or hide.
    5. Save and test the form to confirm the page flow.

    Jotform also notes that page breaks can be added with the Page Break element or the Add New Page Here button, and that conditional logic can be used to skip pages in a multipage form depending on user answers.

    I don't know this information and our support team will handle your request.

    Reach out again if you need any other help.

  • Profile Image
    angie499
    Replied on April 28, 2026 at 2:11 AM

    i need to talk to an actual person. Please help!

  • Profile Image
    Podo: Support Specialist
    Replied on April 28, 2026 at 2:11 AM

    Hi Angie,

    One of our Support Team members will take it from here to follow up shortly.

    Reach out again if you need any other help.

  • Profile Image
    Sheena JotForm Support
    Replied on April 28, 2026 at 2:59 AM

    Hi Angie,

    The issue comes from creating multiple separate conditions to hide the same page, which can lead to conflicts or unexpected results. To fix this, you need to combine the IF statements into a single condition since they are targeting the same page. For example, instead of having two conditions to hide Pet 3, you should create one condition to hide the Pet 3 page if the answer is equal to 1 or 2.

    Here's an example of the conditions you need to create:

    Conditional Logic with Multiple Pages Image 1 Screenshot 30Result:

    Conditional Logic with Multiple Pages Image 2 Screenshot 41

    Give it a try and let us know if you need any help.

  • Profile Image
    angie499
    Replied on April 28, 2026 at 11:26 AM

    Thank you so so much Sheena!

    I have a follow up question.

    Is there a way to make hidden questions not show in the final pdf submission? In other words I only want the questions that are filled out to show in the dcoments.

    For example if someone only has one pet, the document doesn't need to show extra pages up to pet #8 all blank.

  • Profile Image
    Joeni JotForm Support
    Replied on April 28, 2026 at 12:42 PM

    Hi Angie,

    I’ve gone ahead and moved your other question to a separate thread to keep things tidy, and someone from our Support Team will help you out with it here.

    Let us know if you have any other questions.

  • Profile Image
    angie499
    Replied on April 28, 2026 at 5:36 PM

    Our logo is way too stretched out in mobile view.

    Conditional Logic with Multiple Pages Image 1 Screenshot 30 Screenshot 10

    Also the spacing looks different as well. Is there a way to make the fields that are shrunk and on the same line to appear more together in mobile view?

    Conditional Logic with Multiple Pages Image 2 Screenshot 41 Screenshot 21

  • Profile Image
    Brandon
    Replied on April 28, 2026 at 6:05 PM

    Hi Angie,

    To keep the conversation organized, I moved your other question to its own thread, and someone from our Support Team will help you with it here. Did you have any other questions regarding conditional logic?

    Let us know and we can help out if needed.


  • Profile Image
    angie499
    Replied on April 28, 2026 at 6:31 PM

    Also thank you so much Sheena for the conditional logic information! Now it works perfectly (:

    I do have a follow up question though. I have added multiple tabs but the downside is that the tabs show up to pet #4 on default, until the question "how many pets do you have?" is answered. Then it updates to the correct number of tabs.

    Do you have any suggestions so the default is only one pet tab?

    I don't want the person filling out the form to feel overwhelmed when they open it because there are so many tabs.

  • Profile Image
    Raymond JotForm Support
    Replied on April 28, 2026 at 7:22 PM

    Hi Angie,

    Let me help you optimize your form. First, because you only have 4 pages for pets, let's limit the number of pets the user can enter. Let me show you how:

    1. In Form Builder, click on your How many pets do you have? field and on the Gear icon next to it.
    2. Next, Enable the Required option, and click on the Options tab.
    3. Enable the Entry Limits and set minimum to 1 and maximum to 4.

    Conditional Logic with Multiple Pages Image 1 Screenshot 40

    Now, update your condition as shown below:

    Conditional Logic with Multiple Pages Image 2 Screenshot 51

    We'll then enable the page break buttons on Pet #4 page. Let's do it:

    1. In Form Builder, scroll down to Pet #4 page and click on the Page Break element.
    2. Click on the Gear icon next to it, and click on the Advanced tab on the right.
    3. Enable the Back Button Visibility and Next button Visibility options.

    Conditional Logic with Multiple Pages Image 3 Screenshot 62

    That's it. You can test that first on this cloned demo form before applying it to your form.

    Reach out again if you need any help.

  • Profile Image
    angie499
    Replied on April 29, 2026 at 12:15 AM

    Thank you so much for that information however my questions weren't answered regarding the multi-tabs.

    I have added multiple tabs but the downside is that the tabs show up to pet #4 on default, until the question "how many pets do you have?" is answered. Then it updates to the correct number of tabs.

    Do you have any suggestions so the default is only one pet tab?

    I don't want the person filling out the form to feel overwhelmed when they open it because there are so many tabs.

  • Profile Image
    Sheena JotForm Support
    Replied on April 29, 2026 at 12:49 AM

    Hi Angie,

    You can set the How many pets do you have? field as required so users won’t be able to proceed to the next page or see the other pet pages until they’ve filled out that question. This ensures the conditional logic applies first and only the relevant pet sections are shown, helping avoid the overwhelming default view. Here's how:

    1. In Form Builder, select the field you want to set as required and right-click on it.
    2. In the dropdown menu, click on Require.

    Conditional Logic with Multiple Pages Image 1 Screenshot 20

    Let us know if you need any other help.

Your Reply