Conditionally show a field based on the user's answers

  • maxac2b
    Gefragt am 3. April 2024 um 11:55

    I have one more question: How is it possible to create a field with yes/no answers, which opens another input field when clicking on yes, where I can give an unbound free answer?

    Thanks for helping out!

  • Neil Jotform Support
    Geantwortet am 3. April 2024 um 12:12

    Hi Max,

    Thanks for reaching out to Jotform Support. You can achieve this by using conditional logic, specifically, the Show/Hide field Condition. Let me walk you through it:

    First, you will need to add the Yes/No question. You can use the Single Choice element.

    • Click on the Add form element.
    • Under Basic elements, scroll down and click on the Single Choice.

    Conditionally show a field based on the users answers Image 1 Screenshot 50

    Then, you can also add another field or fields that you would like to show up when the form submitters select the answer Yes. After that, we will now add the condition. Here's how to do it:

    1. In Form Builder, click on Settings at the top.
    2. Select Conditions on the left panel.
    3. Then choose Show/Hide Field.

      Conditionally show a field based on the users answers Image 2 Screenshot 61
    4. Set up the condition like my example below:

      Conditionally show a field based on the users answers Image 3 Screenshot 72
    5. Lastly, click on Save.

    That's it. Here's the result:

    Conditionally show a field based on the users answers Image 4 Screenshot 83

    You can check out my demo form here. Feel free to clone it to further test it.

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

  • maxac2b
    Geantwortet am 4. April 2024 um 04:39

    Thanks, that helped me a lot! One more question:

    How do I export all the answers in one file and simply transfer them as a csv format to an Excel spreadsheet?

    best regards

  • Andreas Jotform Support
    Geantwortet am 4. April 2024 um 05:09

    Hi Max,

    Thanks for getting back to us. I moved your other question to a new thread and helped you with that here.

    Reach out again if you have any other questions.

  • maxac2b
    Geantwortet am 4. April 2024 um 05:18

    The link you send is wrong I think, it is a linke to the same chat!

  • Andreas Jotform Support
    Geantwortet am 4. April 2024 um 05:51

    Hi Max,

    Thanks for getting back to us. For me, the link is working fine, but can you please try this link? I also added the link in my previous message again.

    Reach out again if you have any other questions.

 
Ihre Antwort