Gravity Forms Require If
Make the required state of supported Gravity Forms fields conditional — based on form field values, user roles, URL parameters, and more.
★ 1stars
6release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/guilamu/gf-require-if/releases/download/v1.1.0/gravity-forms-require-if.zipDeclares an update source (https://github.com/guilamu/gf-require-if/), so updates arrive through the plugin's own updater.
From the readme
Gravity Forms Require If
Make the required state of supported Gravity Forms fields conditional — based on form field values, user roles, URL parameters, and more.
Conditional Required Rules
- Set fields as required only when specific form field values match
- Combine multiple rules with ALL (AND) or ANY (OR) logic
- Evaluate against form fields, user roles, user meta, page/post ID, URL parameters, or custom developer conditions
- Supports operators: is, is not, greater than, less than, contains, starts with, ends with
Real-Time Frontend Evaluation
- Required indicators appear/disappear instantly as users fill the form
- Respects the form's required indicator setting (text, asterisk, or custom)
- Works with AJAX-powered forms and multi-page forms
- Server-side validation ensures rules are enforced even with JavaScript disabled
Native Form Editor Integration
- Accordion UI matches Gravity Forms' native Conditional Logic panel
- Flyout rule builder with familiar dropdown interface
- Works alongside GF's built-in conditional logic and third-party add-ons
Key Features
- Non-Destructive: Only promotes fields to required; never demotes natively required fields
- Multilingual
Read the full README on GitHub →