Skip to content
GravityKit
Buy
Sign in
0 items
  • Plugins

    GravityKit All Access

    Our complete Kit of essential tools for extending and enhancing Gravity Forms—everything you need to build powerful web apps and workflows.

    Learn more
    • GravityView Pro

      GravityView Pro

      Bestseller

      Get Live Filters, Maps, DataTables, the Advanced Elementor Widget and every other Pro feature to build the app your process needs.

    • GravityView

      GravityView

      Trending

      Display Gravity Forms entries on the frontend of your site and build powerful web applications.

    • GravityImport

      GravityImport

      Trending

      Import entries from CSV files into Gravity Forms to transfer data, create new forms, or update existing entries.

    • GravityEdit

      GravityEdit

      Quickly edit Gravity Forms entries inline to save time, reduce clicks, and streamline your workflow.

    • GravityCharts

      GravityCharts

      Trending

      Turn Gravity Forms entries into interactive charts and graphs.

    • GravityActions

      GravityActions

      Update multiple Gravity Forms entries at once, send bulk emails, and streamline your workflow.

    • GravityCalendar

      GravityCalendar

      Turn Gravity Forms entries into dynamic calendars to showcase events, schedules, appointments, and more.

    • GravityExport

      GravityExport

      Export Gravity Forms entries to Excel, CSV, PDF, or Google Sheets, then share them with secure links or deliver them to cloud storage on a schedule.

    • GravityMath

      GravityMath

      Perform advanced calculations on Gravity Forms entries to display totals, averages, or build custom calculators.

    • GravityRevisions

      GravityRevisions

      Track, compare, and restore changes made to Gravity Forms forms and entries with a full version history.

    • GravityMigrate

      GravityMigrate

      Migrate all Gravity Forms data between sites, including forms, entries, settings, Views, feeds, and file uploads, and import forms from other form plugins.

    • GravityBoard

      GravityBoard

      Manage projects with collaborative project management. Coordinate with your team and streamline your workflows.

    • GravitySearch

      GravitySearch

      Search Gravity Forms entries across every form from one screen.

  • Ideal For

    • Nonprofits
    • Web Agencies
    • Education
    • Developers
    • Small Businesses
    • Startups
    Explore All Use Cases

    Case studies

    • Be There Local
    • Killer Shorts
    • West Fork Schools
    • Princeton University
    • BrightLeaf Giving
    • Jacksonville Port Authority
    • National Severe Storms Lab
    • Leadpal
    View All Case Studies
  • Resources

    • Blog
    • Case studies
    • Newsletter
    • GravityKit vs competitors
    • Live Demos
    • Documentation
    • Developer docs
    • GravityKit Academy

    Ultimate guides

    • How to use Gravity Forms
    • Editing Gravity Forms entries
    • Importing Gravity Forms entries
    • Exporting Gravity Forms entries
    • Displaying Gravity Forms entries
    • Gravity Forms conditional logic
    • Gravity Forms calculations
    View More Articles
  • Support
  • Pricing
  • Plugins

    • GravityView Pro

      GravityView Pro

      Bestseller

      Get Live Filters, Maps, DataTables, the Advanced Elementor Widget and every other Pro feature to build the app your process needs.

    • GravityView

      GravityView

      Trending

      Display Gravity Forms entries on the frontend of your site and build powerful web applications.

    • GravityImport

      GravityImport

      Trending

      Import entries from CSV files into Gravity Forms to transfer data, create new forms, or update existing entries.

    • GravityEdit

      GravityEdit

      Quickly edit Gravity Forms entries inline to save time, reduce clicks, and streamline your workflow.

    • GravityCharts

      GravityCharts

      Trending

      Turn Gravity Forms entries into interactive charts and graphs.

    • GravityActions

      GravityActions

      Update multiple Gravity Forms entries at once, send bulk emails, and streamline your workflow.

    • GravityCalendar

      GravityCalendar

      Turn Gravity Forms entries into dynamic calendars to showcase events, schedules, appointments, and more.

    • GravityExport

      GravityExport

      Export Gravity Forms entries to Excel, CSV, PDF, or Google Sheets, then share them with secure links or deliver them to cloud storage on a schedule.

    • GravityMath

      GravityMath

      Perform advanced calculations on Gravity Forms entries to display totals, averages, or build custom calculators.

    • GravityRevisions

      GravityRevisions

      Track, compare, and restore changes made to Gravity Forms forms and entries with a full version history.

    • GravityMigrate

      GravityMigrate

      Migrate all Gravity Forms data between sites, including forms, entries, settings, Views, feeds, and file uploads, and import forms from other form plugins.

    • GravityBoard

      GravityBoard

      Manage projects with collaborative project management. Coordinate with your team and streamline your workflows.

    • GravitySearch

      GravitySearch

      Search Gravity Forms entries across every form from one screen.

    View All Products

    GravityKit All Access

    Our complete Kit of essential tools for extending and enhancing Gravity Forms—everything you need to build powerful web apps and workflows.

    Learn more
  • Ideal For

    • Nonprofits
    • Web Agencies
    • Education
    • Developers
    • Small Businesses
    • Startups
    Explore All Use Cases

    Case studies

    • Be There Local
    • Killer Shorts
    • West Fork Schools
    • Princeton University
    • BrightLeaf Giving
    • Jacksonville Port Authority
    • National Severe Storms Lab
    • Leadpal
    View All Case Studies

    How to build...

    • Client Portal
    • AI-Built Directory
    • Conference Website
    • WordPress CRM
    • Admin Dashboard
    • Inventory Management
    • Vendor Portal
    • Document Library
    View All Guides
  • Resources

    • Blog
    • Case studies
    • Newsletter
    • GravityKit vs competitors
    • Live Demos
    • Documentation
    • Developer docs
    • GravityKit Academy

    ultimate guides

    • How to use Gravity Forms
    • Editing Gravity Forms entries
    • Importing Gravity Forms entries
    • Exporting Gravity Forms entries
    • Displaying Gravity Forms entries
    • Gravity Forms conditional logic
    • Gravity Forms calculations
    View More Articles
  • Support
  • Pricing
0 items

Search

Results appear automatically as you type.
Loading results…

results found matching

    Sign in
    Buy

    Docs

    • Docs Home

    Gravity Forms Add-Ons

    • GravityView
    • GravityActions
    • GravityBoard
    • GravityCalendar
    • GravityCharts
    • GravityEdit
    • GravityExport
    • GravityImport
    • GravityMath
    • GravityRevisions
    • GravitySearch
    • GF Widget for Elementor
    • GF Dynamic Lookup
    • GF Entry Tags
    • GF Event Field
    • GravityExport Lite
    • GF Zero Spam
    • GravityMigrate

    GravityView

    • Getting Started
    • View Setup
    • FAQ
    • Pre-Sale
    • Advanced
    • Common Problems
    • Customizing Your Views
    • Edit Entry
    • Entry Approval
    • Filter and Sort Results
    • Gravity Forms
    • Merge Tags
    • Roles and Capabilities
    • Search
    • Shortcodes
    • View Settings
    • WordPress Posts

    General Help

    • Account, Invoices, and Billing
    • License Related
    • Plugins and Settings
    • Agency accounts
    • Contact
    • Docs Home
    • Gravity Forms Add-Ons

      • GravityView
      • GravityActions
      • GravityBoard
      • GravityCalendar
      • GravityCharts
      • GravityEdit
      • GravityExport
      • GravityImport
      • GravityMath
      • GravityRevisions
      • GravitySearch
      • GF Widget for Elementor
      • GF Dynamic Lookup
      • GF Entry Tags
      • GF Event Field
      • GravityExport Lite
      • GF Zero Spam
      • GravityMigrate
    • GravityView

      • Getting Started
      • View Setup
      • FAQ
      • Pre-Sale
      • Advanced
      • Common Problems
      • Customizing Your Views
      • Edit Entry
      • Entry Approval
      • Filter and Sort Results
      • Gravity Forms
      • Merge Tags
      • Roles and Capabilities
      • Search
      • Shortcodes
      • View Settings
      • WordPress Posts
    • General Help

      • Account, Invoices, and Billing
      • License Related
      • Plugins and Settings
      • Agency accounts
    • Contact

    Gravity Forms Dynamic Lookup

    • Creating cascading dropdowns with the Filter by Field setting
    • Getting started with Dynamic Lookup
    • Using Merge Tag Modifiers with Lookup Fields
    • Home
    • Docs
    • Gravity Forms Dynamic Lookup
    • Creating cascading dropdowns with the Filter by Field setting

    Creating cascading dropdowns with the Filter by Field setting

    Estimated reading: 4 minutes

    Updated on November 20, 2026

    Cascading dropdowns (also called dependent dropdowns) are fields whose choices depend on an earlier answer on the same form. A visitor picks a category, and the next dropdown shows only the items in that category. You build them with the Filter by Field setting of a Lookup field from Gravity Forms Dynamic Lookup.

    Note: Filter by Field appears when the Lookup field’s Source of Choices is Gravity Forms and its Input Type is Dropdown.

    How Filter by Field works #

    A Lookup field takes its choices from the entries of the source form. By default, it lists all of them, up to 2,500. Filter by Field links the choice list to a field on the form the visitor is filling out: only source entries whose matching field equals that field’s value appear as choices.

    You choose which value links the two, such as a category, an email address, or a customer ID. The Lookup field fills its choices once the visitor enters a value in the linked field. The settings offer these field types:

    • Source Form Field to Match: Single Line Text, Paragraph Text, Drop Down, Multi Select, Radio Buttons, Checkboxes, Email, Phone, Website, Name, Address, Date, Time, Number, and Lookup fields on the source form.
    • Value from This Form’s Field: Single Line Text, Drop Down, Radio Buttons, Email, Phone, Number, Website, and Hidden fields on the form visitors fill out, and Lookup fields there that allow one selection. A Lookup field that the field you’re setting up already narrows is left out.

    With a Lookup field in both settings, one Lookup field can narrow another’s choices, as Narrowing one Lookup field with another shows.

    Our example #

    The example is an equipment rental request where the Product dropdown only shows products from the selected category. It uses these forms:

    • Rental equipment, the source form: one entry per product, with a Product name field and a Category field.
    • Equipment rental request, the form visitors fill out: a Category dropdown, followed by a Product Lookup field.

    Step 1: Prepare the source form #

    The source form holds the data your Lookup field draws its choices from. In our example, the Rental equipment form has two fields:

    • Product name (Single Line Text): what visitors see as choices.
    • Category (Drop Down): the value the filter matches against.

    Each product is an entry on this form, for example “Cordless Drill” in the “Power Tools” category. You can add entries by hand, or import them from a spreadsheet with GravityImport.

    Step 2: Add the field that drives the filter #

    On the form visitors fill out, add the field whose value filters the Lookup choices. In our example, it’s a Category Drop Down with the choices “Power Tools”, “Hand Tools”, and “Safety Gear”.

    Note: The filter lists the source entries whose value equals the value picked in this field. Give this field’s choices the same values that the source form’s Category field stores.

    Step 3: Add and configure the Lookup field #

    1. Add a Lookup field to the form. It’s under Advanced Fields.
    2. In the field settings, set Source of Choices to Gravity Forms.
    3. Set Source Form to the form holding your data (Rental equipment, in our example).
    4. Set Source Field to the field visitors should see as choices (Product name).

    Step 4: Turn on Filter by Field #

    Still in the Lookup field’s settings:

    1. Check Filter by Field.
    2. Set Source Form Field to Match to the field on the source form that holds the linking value (Category on the Rental equipment form).
    3. Set Value from This Form’s Field to the field on this form that provides the value (the Category dropdown you added in step 2).
    4. Save the form.
    Lookup field settings with Source Form set to Rental equipment and Source Field to Product name. Filter by Field is checked, and Source Form Field to Match and Value from This Form's Field are both set to Category

    What visitors see #

    On the published form, visitors can’t open the Product dropdown until they pick a category. Once they pick one, it loads only the products in that category, and a new pick loads the products of the new category. If no product matches, the dropdown reads “No matches found.”

    An equipment rental request form on a property company's site: Power Tools is picked in Category, and the open Product list, with a search box, shows Angle Grinder, Cordless Drill, Impact Driver, and Reciprocating Saw

    The filtered list shows up to 100 matching choices by default. Developers can change this limit (see Developer notes).

    Narrowing one Lookup field with another #

    The field that drives the filter can be a Lookup field too. In this version of the example, the categories are entries of an Equipment categories form, and both forms pick them with a Lookup field:

    1. On the Rental equipment form, make Category a Lookup field with Source Form set to Equipment categories and Source Field set to its Name field.
    2. On the Equipment rental request form, make Category a Lookup field with the same Source Form and Source Field. Leave Enable multiple selections unchecked: Value from This Form’s Field doesn’t list a Lookup field that allows several selections.
    3. In the Product Lookup’s settings, check Filter by Field. Set Source Form Field to Match to the Rental equipment form’s Category, and Value from This Form’s Field to this form’s Category.
    Product Lookup settings with Filter by Field checked: Source Form Field to Match is set to Category (ID #3) on the Rental equipment form, and Value from This Form's Field to this form's Category (ID #1), with an arrow at the second

    When the visitor picks Power Tools in the Category Lookup, the Product Lookup lists the power tools.

    The Lookup on the source form can allow several selections. A product filed under Power Tools and Safety Gear then shows for either category.

    Filter by Field compares the saved values, so both Lookup fields need the same Storage Format:

    • Two Lookup fields that save the ID match, and so do two that save the text.
    • When one saves the ID and the other saves the text, their values differ, and the Product dropdown reads “No matches found.”
    • On this form, a Lookup field that saves the text also matches a Drop Down field on the source form with the same text.

    Making long lists searchable #

    For source forms with many entries, check Enable enhanced user interface on the Lookup field’s Appearance tab. The dropdown gets a search box, where visitors type to narrow the filtered choices.

    Developer notes #

    These filters change how Filter by Field works:

    • gk/lookup/filter/value: changes the value used to filter the choices.
    • gk/lookup/filter/max-results: changes the maximum number of filtered choices (default: 100).
    • gk/lookup/filter/allow-public: turns off filtered choices for logged-out visitors.

    Related articles #

    • Getting started with Dynamic Lookup
    • Using Merge Tag Modifiers with Lookup Fields
    Still stuck?

    How can we help?

    "*" indicates required fields

    This field is for validation purposes and should be left unchanged.
    Replies will go to this email.
    How can we help?*
    My pre-sale question is related to...*
    My WordPress skills are....*
    My Gravity Forms skills are...*
    You will be shown articles from our documentation.
    Vous pouvez nous écrire dans votre langue maternelle si c’est plus facile pour vous—nous nous occuperons de la traduction!
    Puedes escribirnos en tu idioma nativo si te resulta más fácil; ¡nosotros nos encargamos de la traducción!
    Sie können uns in Ihrer Muttersprache schreiben, wenn das für Sie einfacher ist – wir kümmern uns um die Übersetzung!
    U kunt ons in uw moedertaal schrijven als dat gemakkelijker voor u is — wij zorgen voor de vertaling!
    Du kan skrive til oss på ditt morsmål hvis det er enklere for deg — vi tar oss av oversettelsen!
    Du kan skriva till oss på ditt modersmål om det är lättare för dig — vi tar hand om översättningen!
    Você pode nos escrever em seu idioma nativo se for mais fácil para você — nós cuidaremos da tradução!
    Puoi scriverci nella tua lingua madre se ti è più facile — penseremo noi alla traduzione!
    Please provide as much detail as you're able; this helps us provide you with faster support.
    Drop files here or
    Accepted file types: jpg, jpeg, gif, png, tiff, pdf, bmp, zip, json, csv, xls, xlsx, Max. file size: 256 MB.
      Get better at Gravity Forms every Friday

      Was this page helpful?

      Table Of Contents
      • How Filter by Field works
      • Our example
      • Step 1: Prepare the source form
      • Step 2: Add the field that drives the filter
      • Step 3: Add and configure the Lookup field
      • Step 4: Turn on Filter by Field
      • What visitors see
      • Narrowing one Lookup field with another
      • Making long lists searchable
      • Developer notes
      • Related articles
      GravityKit
      • How to Build It
      • GravityKit vs competitors
      • Pricing
      • Products
      • Our Team
      • Our Values
      • Work With Us
      • Partner Directory
      • Coupons
      Support
      • Support
      • Contact
      • Documentation
      • Scope of Support
      • Brand Guidelines
      • Brand Kit
      • Privacy Policy
      • Terms of Service (“Terms”)
      I am a...
      • Nonprofit
      • Web agency
      • Small business owner
      • Web developer
      • Educational institution
      • WordPress freelancer
      • Startup founder
      • One-person agency
      Get notified of updates.

      We’re constantly improving GravityKit. Fill out your email below and we’ll notify you anytime major updates drop.

      See past editions
      • Facebook
      • Twitter
      • Mastodon
      GravityKit is a Gravity Forms Certified Developer.

      Copyright © 2026, Katz Web Services, Inc.

      GravityKit and GravityView are registered trademarks of Katz Web Services, Inc.