Getting Started with Dynamic Lookup

The Gravity Forms Dynamic Lookup field enables you to populate field choices from two sources:

  • Other Gravity Forms entries
  • WordPress users

This guide will walk you through setting up and using Lookup fields effectively.

Prefer to watch the video?

Adding a Lookup Field

Edit your form in Gravity Forms, open the "Advanced Fields" tab and drag the "Lookup" field onto your form.

Button grid with Email, File Upload, CAPTCHA, List, Multi Select. Arrow highlights Lookup button

Basic Configuration

The first thing you need to do is select a source type. Choose between Gravity Forms entries or WordPress users. This determines where your dynamic field choices will be pulled from and sets the foundation for how your Lookup field will function. Once selected, you can refine the data further with filtering options, sorting preferences, and display settings to ensure only the most relevant choices appear in your form.

  1. Input Type: Choose either Drop Down, Radio, or Checkbox. (Drop Down and Checkbox fields support multiple selection).
  2. Source or Choices: Choose to dynamically populate field choices with Gravity Forms entry data or WordPress users.

Input type set to radio buttons; choice source options are Gravity Forms or WordPress Users

Using Gravity Forms Entries as source

When pulling choices from other form entries:

  1. Source Form: Select the source form containing your desired entries.
  2. Source Field: Choose which field to use as the display value.
  3. Show only entries created by the current user: Only show entries created by the current user.
  4. Show only unique results: Filter out duplicate values.
  5. Additional settings: Clicking this button opens up additional settings in the "Advanced" tab where you can choose a data storage type and choose a sort direction.

Source form and field settings for dynamic lookup, with options for unique results and user-specific entries

Using WordPress Users as source

When using WordPress users as your data source:

  1. User Group: Select a user role to dynamic pull in users with that role.
  2. Display Value: Choose what to show (Display Name, Username, Email, User ID, or full info).
  3. Additional settings: Clicking this button opens up additional settings in the "Advanced" tab where you can choose a field to sort by and a sort direction.

Choose data source: Gravity Forms or WordPress Users, set User Group and Display Value options

Using conditional logic

The Lookup field fully supports Gravity Forms conditional logic:

  1. Click the "Conditional Logic" tab in field settings
  2. Enable conditional logic
  3. Set up your rules to show/hide the field based on other form values
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us