TutorialPopulate Gravity Forms Fields with (Custom) Post Titles and Taxonomies

Do you want to dynamically generate choices (and values) for select fields like Drop Down, Checkboxes, Radio Buttons and Multi Select, based on(Custom) Post Titles or Taxonomies? With Populate Anything from GravityWiz that is as easy as it gets.

Dynamic Post Titles Choices in Drop Down

When you select a Drop Down Gravity Forms Field, you get extra options to Populate choices dynamically. After you’ve done that, you can see a litter thunderstorm icon next to the Label in the Gravity Forms editor:

Screenshot of Drop Down field in the Gravity Forms editor with Populate Anything enabled.
Screenshot of Drop Down field in the Gravity Forms editor with Populate Anything enabled.
Screenshot of the Dynamic Populate Field settings, example using WordPress Posts as data source and filtering on a Custom Post Type.
Screenshot of the Dynamic Populate Field settings, example using WordPress Posts as data source and filtering on a Custom Post Type.

To activate populating choices, you click the checkbox. You get a choice to select which data you want to use to populate the choices. In this example we’ve selected Type = Post, because we want to populate our Drop Down field with WordPress Custom Post Titles.

We’ve also added a Filter Group, where we only want to include Posts that have as Post Type Tutorial.

Screenshot of Populate Anything settings for configuring the order of the Choices and what data should be used as Choice Value and Choice Label.
Screenshot of Populate Anything settings for configuring the order of the Choices and what data should be used as Choice Value and Choice Label.

You have extra options to determine how the Drop Down choices should be ordered.

At the end, you can configure which data should be used for the Value and for the Label of the Drop Down Choice.

Checkbox or Radio Buttons with Choices based on WordPress (Custom) Taxonomy

Screenshot of Checkbox and Radio Buttons Fields in the Gravity Forms editor with Populate Anything enabled.
Screenshot of Checkbox and Radio Buttons Fields in the Gravity Forms editor with Populate Anything enabled.
Screenshot of Populate Anything settings using a Custom WordPress Taxonomy as data source.
Screenshot of Populate Anything settings using a Custom WordPress Taxonomy as data source.

It works basically the same for other data sources. In the below example we use a custom WordPress Post Taxonomy (Developer) to generate the choices of the Gravity Forms Checkbox Field automatically.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close