Gravity Forms dynamic lookup: Populate field choices dynamically

Introducing our new free add-on: Gravity Forms Dynamic Lookup

Written by Casey Burridge

Last updated:

Categories Product Updates

We are excited to announce the release of Gravity Forms Dynamic Lookup, our latest free add-on. 

Gravity Forms Dynamic Lookup adds a powerful new field type that enables you to dynamically populate field choices with Gravity Forms entries or WordPress users.  “Lookup” fields are commonplace in many popular apps, like Airtable, Salesforce and HubSpot. And now, we’re bringing them to Gravity Forms!

How does it work?

The ‘Lookup’ field is a fully customizable field type that dynamically pulls and displays relevant choices based on real-time data from Gravity Forms entries or WordPress users. So instead of manually entering information, users can select from existing records. This ensures data consistency, reducing duplication, and improving efficiency.

You can dynamically pull in choices from any field in any form, with full support for most field types and advanced filtering options based on form, field, and entry criteria. When working with WordPress users, the add-on enables you to dynamically populate user data, choosing whether to show names, usernames, emails, or IDs.

Not only can Dynamic Lookup help you build smarter forms, it also gives you the ability to leverage relational data structures in your front-end applications built with GravityView! But more on that later. 

Populating Gravity Forms entries

Start by adding the Lookup field to your form by dragging and dropping it onto your form from the “Advanced Fields” panel.

The 'Lookup' field in the Gravity Forms field picker

Now open the field settings and choose an input type. The Dynamic Lookup field currently supports three input types—Drop Down, Checkboxes and Radio Buttons. Both Drop Down and Checkboxes support multiple selection, while Radio Buttons is single selection only.

A dropdown field labeled 'Lookup Settings'; the option chosen is 'Radio Buttons'.

Next, choose “Gravity Forms” as the source type. Now, you can select a specific form and a specific field containing the data you want to use as field choices.

The settings for the Lookup field; the 'Gravity Forms' source is selected.

Finally, you have the options to restrict entries to those created by the current user and filter out duplicate values. Clicking “Additional settings” will open the “Advanced” tab where you can choose a storage type and a sort direction (ascending or descending).

Two checkboxes. The first is 'show only entries created by current user'; the second is 'Show only unique results'

In this example, the Lookup field will dynamically pull in all the unique company names from entries in the “Companies” form.

A Radio Buttons fields with a range of options; all are company names

When new companies are created, those will be pulled in automatically as field choices.

Populating WordPress users

Select “WordPress Users” as your source type and then choose a user role from the “User Group” dropdown below. This enables you to limit your selection to users with a specific role (for example, Subscriber, Editor or a custom role like Coach).

The settings for the Lookup field; the 'WordPress Users' source is selected.

Next, you can choose a display value. This is the label that appears for the field choice. You can select the Display Name, Username, ID, Email or Full Info (name, email and ID all together).

In this example, the Lookup field will dynamically pull in the Display Name of all the WordPress users on our site that have the “Coach” role.

A Radio buttons field labeled 'Select a coach'; the field is dynamically populated with the display names of WordPress users

💡 Pro tip: For a more in-depth look at the Dynamic Lookup field, check out our getting started video.

Unlock the power of dynamic data with GravityView

Gravity Forms Dynamic Lookup isn’t just another form field—it’s a powerful new tool in your app building Kit! 

When used in conjunction with GravityView, it enables you to create relational data structures on the front-end, opening the door to more advanced data management. You can create parent-child relationships and establish complex data connections that enhance the way information is organized and displayed.

Whether you’re linking customer orders to accounts, assigning projects to team members, or displaying child entries on the parent entry, this functionality makes it easy to build interactive and data-rich applications and interfaces.

How does Dynamic Lookup compare to Populate Anything by Gravity Wiz?

Gravity Wiz’s Populate Anything is a powerful and versatile tool that goes beyond what Dynamic Lookup offers, allowing you to fetch data from a wide range of sources, including database queries, WordPress posts, and more.

Dynamic Lookup, on the other hand, is designed with a more focused approach. It allows you to populate field choices from either Gravity Forms entries or WordPress users.

We’re big fans of Gravity Wiz’s Populate Anything and recommend it as the go-to solution for more advanced use cases.

Download it now, for free!

Gravity Forms Dynamic Lookup enables you to dynamically populate field choices from Gravity Forms entries or WordPress users, with advanced filtering, role-based restrictions, and multiple selection support. 

If you’re a GravityView user, you can use the Lookup field to create relational data structures and build web apps with complex data connections.

So, what are you waiting for? Download Gravity Forms Dynamic Lookup now for free and start building smarter, more interactive forms.

Already a GravityKit user? Go to the GravityKit “Manage Your Kit” screen and install the plugin from there 👍

Helpful tips right in your inbox.

Subscribe to our weekly newsletter for tips, special offers, and more!

Helpful tips right in your inbox.

Subscribe to our weekly newsletter for tips, special offers, and more!