Can I hide or show an element depending on a response

  • releve068
    Asked on September 5, 2024 at 4:14 PM

    Can I add an "upload file" prompt depending on the response from the end user?

    In other words, questions would be "Did you work last year" if the response is "yes" then have the system prompt the user to Upload Form W2.

    Is this possible?

    Looking forward to hearing back from you.

    Rene

  • Arslan JotForm Support
    Replied on September 5, 2024 at 5:08 PM

    Hi Rene,

    Thanks for reaching out to Jotform Support. Yes, you can achieve this by using a Single choice element and Show/Hide a field condition. Let me walk you through it:

    1. In Form Builder, click on the Add Form Element menu on the left side of the screen.

    2. Under Basic tab, scroll down to Single Choice element and drag and drop it on your form.

    Can I hide or show an element depending on a response Image 1 Screenshot 60 3. Now, under Basic tab, scroll down to File Upload and drag and drop it on your form.

    4. Right-click n the File Upload element on the form and then select Hide.

    Can I hide or show an element depending on a response Image 2 Screenshot 71 5. Now, in the orange navigation bar at the top of the page, click on Settings.

    6. In the menu that appears on the left side of the screen, click on Conditions, and then select Show/Hide a Field condition.

    Can I hide or show an element depending on a response Image 3 Screenshot 82 7. Now, set the condition as shown in the screenshot below:

    Can I hide or show an element depending on a response Image 4 Screenshot 93You can check my results in the screencast shown below:

    Can I hide or show an element depending on a response Image 5 Screenshot 104
    Give it a try and reach out again if you have any other questions.

Your Answer