Conditional Logic: Showing Questions Based on a Form Submiter's Answers

  • Sascha
    Asked on September 19, 2024 at 10:19 AM

    Hi Jotform Team / Community.


    We are a design agency that currently builds a website for one of our clients.

    We would like to use Jotform for the registration form on the website.

    The client wants to have:

    1) a conditional form (more questions are showed if „yes“ is selected in one of the questions).

    2) a slick onboarding style (like in todays apps) where each question comes after another and everything is styled in the CI of the brand.


    Do you have a reference or a template we could show our customer to convince him to use Jotform?

    Many thanks,

    Sascha

  • Abdul JotForm Support
    Replied on September 19, 2024 at 11:02 AM

    Hi Sascha,

    Thanks for reaching out to Jotform Support. Jotform's Conditions feature lets you show questions based on the answers that people gave. Let me show you how to set it up:

    1. On your My Forms page, hover your mouse over your form and click on Edit Form.

    2. In Form Builder, click on the Add Form Element menu and drag-drop the fields you want to use as follow-up questions (I used Short Text fields in this example).

    3. Click on the Type a Question text and change it to the question you want to use.

    4. Now, right-click on the fields, and in the menu that opens, click on Hide.

    Conditional Logic: Showing Questions Based on a Form Submiters Answers Image 1 Screenshot 50

    Now, let's set up the conditions:

    1. In Form Builder, in the orange navigation bar at the top of the page, click on Settings.

    2. Click on Conditions on the left of the page.

    3. Now, click on Add a New Condition and then click on Show/Hide Field.

    Conditional Logic: Showing Questions Based on a Form Submiters Answers Image 2 Screenshot 61

    4. Set the conditions like you see below:

    Conditional Logic: Showing Questions Based on a Form Submiters Answers Image 3 Screenshot 72

    Set up conditions for all the choices for your question. Check out the screencast below to see how your form will work after setting up the Conditions:

    Conditional Logic: Showing Questions Based on a Form Submiters Answers Image 4 Screenshot 83

    As for your question about the form layout and the Jotform Templates, I have created a new ticket for them and sent you the answer here and here, just to avoid any confusion.

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

Your Answer