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

September 6, 2023

The Show/Hide Field conditional logic allows you to show or hide questions on your form depending on the user’s answer.

As an example, this demo form is configured to show a follow-up question to the “Would you like any dessert?” question if the answer is “Yes.”

A screenshot of Form Builder with highlights to the "Would you like any dessert?" and "What kind of dessert do you have in mind?" questions

To toggle a field’s visibility based on the form filler’s answers

  1. In the Form Builder, select Settings at the top.
  2. Go to Conditions on the left.
  3. Add a new Show/Hide Field condition.
Steps to add a Show/Hide Field condition in Form Builder
  1. On the next page, set up your condition’s rules.
A Show/Hide Field rule in Form Builder

For example, in this demo form, the conditional logic is as follows:

  • IF: Would you like any dessert?
  • STATE: Is Equal To
  • VALUE: Yes
  • DO: Show
  • FIELD: What kind of dessert do you have in mind?
  1. Once you’re done, select Save at the bottom.

You can add as many rules or hide as many fields as needed. Check out the following guides to learn more:

Save 50%
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.


  • Mariana Pacheco - Profile picture
  • Su Mariani - Profile picture
  • Gaurav Bhimarao Magare - Profile picture
  • Webmaster - Profile picture
  • Jessica - Profile picture
  • Jodie Vorster - Profile picture