WP Manifestindependent plugin directory
manifest / forms / gf-advanced-conditional-choices

GF Advanced Conditional Choices WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Add conditional logic to individual choices within Gravity Forms Radio, Checkbox, Dropdown, Multi-Select, and Multiple Choice fields.

★ 1stars
19release downloads
≈10active sites
v1.0.2latest · 4mo ago

Install

Download gf-advanced-conditional-choices.zip From the v1.0.2 release on GitHub, Jun 18, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/guilamu/gf-advanced-conditional-choices/releases/download/v1.0.2/gf-advanced-conditional-choices.zip
Updates itself. It ships its own updater, so new versions appear under Dashboard → Updates.

Screenshot

Add conditional logic to individual choices within Gravity Forms Radio, Checkbox, Dropdown, Multi-Select, and Multiple Choice fields.

Choice-Level Conditional Logic

  • Apply visibility rules to individual choices, not just entire fields
  • Use ALL (AND) or ANY (OR) logic types for flexible rule combinations
  • Chain dependent dropdowns (Country → State → City)

Cross-Field Conditions

  • Reference any field in the form as a trigger for conditions
  • Support text, number, dropdown, radio, checkbox, and more field types
  • Works across multi-page forms with proper state management
  • Cascading dependencies re-evaluate when trigger fields change

Rich Operator Support

  • Match operators: Is, Is Not, Contains, Starts With, Ends With
  • Numeric comparisons: Greater Than, Less Than, Greater/Less or Equal
  • State checks: Is Empty, Is Not Empty

Key Features

  • Unlimited Rules: Add as many conditions per choice as needed
  • Server Validation: Hidden choices are excluded from validation
  • Multilingual: Works with content in any language
  • Translation-Ready: All strings are internationalized (French included)
  • Secure: Nonce verification, capability checks, and data sanitization
  • GitHub Updates: Automatic updates from GitHub releases

Requirements

  • WordPress 6.0 or higher
  • PHP 8.0 or higher
  • Gravity Forms 2.7 or higher

Installation

  1. Upload the gf-advanced-conditional-choices folder to /wp-content/plugins/
  2. Activate the plugin through the Plugins menu in WordPress
  3. Edit any Gravity Forms form with choice-based fields
  4. Click the logic icon next to any choice to configure conditional visibility

FAQ

Which field types support conditional choices?

Radio Buttons, Checkboxes, Dropdowns, Multi-Select, and Multiple Choice fields can have conditional logic applied to their individual choices.

What happens when a selected choice becomes hidden?

The selection is preserved but a validation error is shown on submit: "Please select a valid option." Users must select a visible option to proceed.

Can I use conditions across multi-page forms?

Yes, conditions work across pages. When returning to a page, conditions are re-evaluated and invalid selections are cleared automatically.

Does this work with dynamically populated choices?

Yes, the logic UI works seamlessly with choices populated via hooks or external sources.

Can I customize the validation messages?

Yes, use the gf_acc_invalid_selection_message filter:

add_filter( 'gf_acc_invalid_selection_message', function( $message ) {
    return 'Please choose a different option.';
} );

What happens if all choices are hidden on a required field?

A validation error is shown: "No options available. Please adjust your previous selections."

Project Structure

.
├── gf-advanced-conditional-choices.php   # Main plugin file (bootstrap)
├── class-gf-acc.php                      # Core add-on class
├── uninstall.php                         # Cleanup on uninstall
├── README.md
├── LICENSE
├── assets
│   ├── css
│   │   └── admin.css                     # Modal & editor styles
│   └── js
│       ├── admin.js                      # Form editor logic
│       └── frontend.js                   # Live form conditions engine
├── includes
│   ├── class-choice-conditions.php       # Logic evaluation utilities
│   ├── class-field-settings.php          # GF field settings hooks
│   ├── class-server-validation.php       # Server-side validation
│   └── class-github-updater.php          # GitHub auto-updates
└── languages
    ├── gf-advanced-conditional-choices.pot        # Translation template
    ├── gf-advanced-conditional-choices-en_US.po   # English translation
    ├── gf-advanced-conditional-choices-fr_FR.po   # French translation (source)
    └── gf-advanced-conditional-choices-fr_FR.mo   # French translation (binary)

Changelog

1.0.2

  • Fixed server-side validation error ("Please select a valid option") occurring on forms that do not use the plugin.
  • Skipped evaluation for fields and forms that do not have conditional choice logic configured.
  • Replaced sanitize_text_field with wp_unslash in validation checks to prevent mismatch issues with tab characters and multiple spaces in choice values.

1.0.1

  • Rewritten GitHub auto-updater to match reference template (README.md parsing, Parsedown, CSS injection, table-to-div conversion, GF sidebar info)
  • Added "View details" thickbox modal link in plugin row meta
  • Added Parsedown.php dependency for Markdown-to-HTML conversion

1.0.0

  • Initial release
  • Conditional logic for individual choices in Radio, Checkbox, Dropdown, Multi-Select, and Multiple Choice fields
  • ALL/ANY logic types with unlimited rules per choice
  • Full operator set: Is, Is Not, Contains, Starts With, Ends With, >, <, >=, <=, Is Empty, Is Not Empty
  • Cross-field and cross-page condition support
  • Server-side validation for hidden choices
  • Visual indicator for choices with active logic
  • French translation included
  • GitHub auto-updater integration

License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0) - see the LICENSE file for details.


Made with love for the WordPress community

Releases

3 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.0.2 latest
Jun 18, 2026 4mo ago
gf-advanced-conditional-choices.zip
5
Apr 1, 2026 6mo ago
gf-advanced-conditional-choices.zip
4
Feb 3, 2026 8mo ago
gf-advanced-conditional-choices.zip
10

Active-site estimate ≈10 comes from the median of recent superseded releases. Method.

A grade

Security

GF Advanced Conditional Choices 1.0.2 · audited by WP Registry

No security issues found.

Audited release
1.0.2
Findings
none
Worst severity
—
Content hash
a602e0f814fa5f4c4da105d8…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.