How to create an interactive form where fields are shown based on previous answer?

  • alperen_erdogan
    Asked on September 25, 2024 at 6:03 PM

    Can I prepare an interactive survey that will ask users different questions based on their answers? Do you have such a service?

  • Sonnyfer JotForm Support
    Replied on September 25, 2024 at 9:53 PM

    Hi Alperen,

    Thanks for reaching out to Jotform Support. Yes, 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.

    How to create an interactive form where fields are shown based on previous answer? 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.

    How to create an interactive form where fields are shown based on previous answer? Image 2 Screenshot 61

    4. Set the conditions like you see below:

    How to create an interactive form where fields are shown based on previous answer? Image 3 Screenshot 72

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

    How to create an interactive form where fields are shown based on previous answer? Image 4 Screenshot 83

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

Your Answer