Get 50% off all new Gravity Forms licenses today!

Buy Now
News & Updates -

Gravity Forms Chained Selects Add-On v1.0 Beta 1 Released

David Smith By David Smith Published June 12, 2017

Gravity Forms Chained Selects Add-On v1.0 Beta 1 is now available via the Beta Add-ons section of the Add-On Downloads page.

This first release provides a powerful new field type, Chained Selects. The Chained Selects field allows you to “chain” multiple drop downs together. Each selection filters the available options in the next drop down field in the chain until the chain is complete. You can control the display of the drop downs (horizontally in a row or vertically in a column) and also prevent inactive Drop Downs from displaying until they have been reached in the chain.

Importing Choices

Choices can be easily imported via a CSV file. Here’s a sample file in the required format (sample.csv). Once you have your import file created, you can upload it via the “Import Choices” field setting.

Dynamic Population with Chained Selects

For developers looking to dynamically populate Chained Selects, this new field type works a little differently than most other Gravity Forms fields. See the gform_chained_selects_input_choices filter. This filter provides a simple method for populating each drop down in the chain as that drop down becomes available, giving you the flexibility to pull from any data source.

For more details and a practical example which pulls data from a remote data source, see the full documentation for this filter (documentation).

Conditional Logic and Chained Selects

Chained Selects work great with Gravity Forms’ conditional logic. Conditional logic can be dependent on any specific drop down of the Chained Select field as well as special wildcard format for targeting specific values of some drop downs while matching any value of others.

Here’s an example which will show an HTML field for users who select any 2017 Toyota model.

The Chained Selects Add-On is available to Developer License owners. Don’t own a Gravity Forms Developer license? Purchase one now!

You may download the Chained Selects Add-On via the Add-On manager in Gravity Forms or via the Add-On download page, and read the documentation here.