How to Conditionally Disable the Submit Button in Jotform Cards

June 27, 2022

In Jotform Cards, you can disable the submit button based on a condition. This is useful if you need to apply restrictions to your form.

In the following example form, users that are less than 18 years old won’t be able to register.

card-form-age-restriction-min

Here’s how to set it up:

  1. Go to Settings in the Form Builder.
  2. Choose Conditions on the left.
  3. Create a new condition and select Enable/Require Field.
Enable/Require Field condition
  1. Set up the condition and action in the next window. In the example form, the Conditional Logic would be as follows:
form-builder-age-card-condition-min

To break that down:

  • The conditions or IF statements are set to check if ANY of the following is true: “Age” is less than 18 or “Age” is empty.
    Note: The “Less Than” state is available in Number, Spinner, Star Rating, and Scale Rating elements and in the Form Calculation widget.
  • The action or DO statement in turn keeps the submit button disabled while any of the conditions are true. It will also show the error message if the form filler tries to submit the form.
  1. Click the Save button to save the changes.

If you have questions or concerns, feel free to comment below.

END OF YEAR SALE
Save 50%
ON ANNUAL JOTFORM PLANS
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:

  • WA Unit WBCCI - Profile picture