How to Show or Hide Fields Based on User’s Answer

April 17, 2022

The Show/Hide Field is part of the Conditional Logic feature. This option is useful if you want to show or hide follow-up questions depending on the user’s answer.

Let’s start with an example form with the “Would you like any dessert?” question.


We will apply conditional logic to this field that would show the “What kind of dessert do you have in mind?” follow-up question if the user answered “Yes”.

To set this up…

  1. Open the Settings tab in the Form Builder.
  2. Click Conditions on the left.
  3. Select the Show/Hide Field option.
  1. Set up the condition and action in the next window. In our example form, the conditional logic would be as follows:

To break that down:

  • We’ve set the condition or IF statement to check if the “Would you like any dessert?” question is equal to “Yes”
  • The action or DO statement will show the “What kind of dessert do you have in mind?” question if the condition is met.
  1. Click the Save button to save the changes.

Note that you can add many rules and actions if needed. You can also show or hide multiple fields at once. Check out the following guides to learn more:

If you have any questions, please let us know in the comments box below or by simply posting a thread on our support forum.

Was this guide helpful?
Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum:

Contact Jotform Support:

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.