How to Conditionally Change a Field to Required

February 12, 2024

This guide shows how to change your form field’s “required” flag using conditional logic. This is useful if you need to conditionally turn your optional fields required or vice versa.

To conditionally toggle your form field’s “required” flag

  1. In the Form Builder, go to Settings at the top.
  2. Select Conditions on the left.
  3. Add a new Enable/Require/Mask Field condition.
Steps to add an Enable/Require/Mask Field condition in Jotform Form Builder
  1. On the next page, set up your condition rules.

In this example form, the conditional logic is as follows:

An Enable/Require/Mask Field condition sample in Jotform Form Builder
  • IF: Will you come with a partner?
  • STATE: Is Equal To
  • VALUE: Yes
  • DO: Require
  • FIELD: Partner’s Name
  1. Once you’re done, select Save at the bottom.


See also: How to Set an Input Mask Conditionally.

Academy Logo

Introduction to Form Building

Adding Conditional Logic Elements

Go to course :Adding Conditional Logic Elements
lesson-2 - image
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: https://www.jotform.com/answers/

Contact Jotform Support: https://www.jotform.com/contact/

Send Comment:

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

Comments:

  • RAYMOND LAVINE - Profile picture
  • Santosh Sakre - Profile picture
  • Lisa Sutton - Profile picture
  • bartina87 - Profile picture
  • selectability - Profile picture
  • friendlyneighbourhotline - Profile picture
  • mouna_zreikat - Profile picture
  • mouna_zreikat - Profile picture
  • littlebird_db - Profile picture
  • darrenerb - Profile picture
  • smiddleton - Profile picture
  • benpalm - Profile picture
  • seotony - Profile picture
  • pianospheres - Profile picture
  • mikeBWD - Profile picture
  • TrishBoaz - Profile picture