Formidable Forms

Formidable Forms

  • Features
  • Pricing
  • Resources
    • Docs & Support
    • Blog
    • Community
  • Solutions
    • Web Applications
    • Calculators
    • Surveys
    • Directories
    • Payments
    • Contact forms
  • Login
  • Get Formidable Forms

Jamie / Last Updated November 19, 2019

WordPress Lookup Fields Have Arrived!

WordPress lookup fields

WordPress Lookup Fields

After several months of working on version 2.01.0, a juicy new field type has been added to the menu: WordPress Lookup Fields.

The idea for this new field type came as a result of working directly with many of you in support. I saw a need for dynamic field options and values that our "Dynamic" field type didn't completely fill. There were several times I simply had to say "Sorry, this can't be done". There were other times where I would tell people they could achieve the dynamic relationship they needed, but it would require hours of tedious setup.

Formidable Forms is the best WordPress Form Builder plugin. Get it for free!

Eventually an idea formed that I realized would make complex relationships possible without hours of setup and without a giant headache. This is where Lookup Fields were born. I created Lookup Fields with you in mind. I looked at countless support topics to get an idea of the situations that needed to be addressed. My hope is that Lookup Fields will allow you to build the forms that you need with ease.

So, what do WordPress Lookup Fields do? Well, they do a lot. Essentially they are useful in the following five scenarios.

Dynamic radio or dropdown options

Lookup fields get their options from submitted entries so you can easily create dynamic field options.

Wait, Dynamic fields already do this...right? The short answer is yes, Dynamic fields do this. The long answer is that Dynamic fields store an entry ID which is very useful in some situations, but it's also confusing and unnecessary if that's not what you want.

Lookup fields are plain and simple. They store the value exactly as you see it in the option. Also, Lookup fields automatically remove duplicates and they have an "Order" setting, intended to make your job easier. Checkboxes and multi-select dropdowns will be added to the Lookup field options shortly.

Cascading fields

Yes, this is something Dynamic fields can do too, but it's also what originally sparked the idea for Lookup fields. In order to set up a three level dependency (like Country/State/City or Year/Make/Model relationship) with Dynamic fields, three forms are required and three CSV imports (or thousands of manual entries). With Lookup fields, you can set up this type of dependent relationship with one form and one CSV import. This can save you a lot of time messing with data. Read more about setting up a cascading relationship.
Lookup Year Make Model

Read more: How to Create Conditional Drop Down Lists in WordPress Forms

Drill down to a final cost

A lot of the times, using separate values is perfect for calculating a total cost. However, there are times when the value for an option changes depending on other options. For example, if you're selling insurance policies and the final price is determined by the selected company and state combination, you can use Lookup fields for this. After the company and state is selected, a text or number field will display the price. Read more about this here.

Select a value and populate fields

Make it easier for users to fill out forms if they've already submitted similar data. They can select a previously submitted entry from a dropdown field and voilà - the fields in the form are automagically populated with values from the selected entry. Read more about setting this up here.

This automatic population is currently limited to dropdown fields and text fields (and variations of text fields). This option will be added to more field types very soon.

Retrieve a value by searching

This is similar to #4, but the difference is that the value must be searched instead of selected. This is useful if you don't want the options to be visible to everyone. For example, maybe you want users to enter their email address and then a code appears in another field. Read more about setting this up here.

What's next?

So, what's next for Lookup fields? There are three main features that are "in the works" for Lookup fields at this time.

  1. Checkboxes and multi-select dropdowns
    We will be adding a checkbox and multi-select dropdown setting to Lookup fields in coming releases.
  2. Images
    A Lookup > Image option will be added so it's easy to display image files from submitted entries.
  3. Populating all field types
    Currently, it's possible to use Lookup fields to automatically populate dropdown fields and fields with a text input. We will be adding the option to populate all field types.

These are the top three features that I'll be adding to Lookup fields in the coming months. Keep an eye out for them, and of course, let me know if you have any questions or suggestions.

If you would like to see what other changes 2.01.0 includes, take a look at our changelog.

Using WordPress and want to get Formidable Forms for free?

Get Formidable Forms Lite Now

This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions.

Comments

  1. Cole says

    April 23, 2016 at 8:57 am

    I've been hoping for a feature like this for forever. Can't wait to start using it! Thanks Formidable!

    Reply
  2. puntorosso says

    May 2, 2016 at 2:21 pm

    Wow! This it's a really powerful addition to Formidable.
    Great job, Jamie!

    Reply
  3. josephdowdy says

    May 6, 2016 at 10:54 am

    Does this mean that you can have a search field of "pre-populated" choices that are automatically populated from posts and pages? In other words, can Formidable Forms create a REAL choice for a WordPress search bar? That would be AMAZING if we could populate the search choices based on slugs from posts/pages!

    Reply
    • Jamie says

      May 11, 2016 at 3:45 am

      This isn't what Lookup fields were designed to do, but we do plan to add this option to Dynamic fields in the future.

      Reply
  4. Steve Dillon says

    May 6, 2016 at 11:06 am

    I can't wait to replace my dynamic fields with the cascading lookup fields. This is great news!

    Reply
  5. Torrey says

    May 6, 2016 at 11:26 am

    This fixes a big hole in my app. Thank you for all your hard work to make such a powerful app.

    Reply
  6. Max says

    May 6, 2016 at 11:40 am

    Thumbs up!

    Reply
  7. David says

    May 6, 2016 at 12:20 pm

    Can we filter users this way? ideally want facetwp features that works with users.

    Reply
    • Jamie says

      May 11, 2016 at 3:46 am

      It's possible that you could do what you need with Lookup fields. Would you like to create a topic in the help desk with more information? Then I can tell you better if Lookup fields can do what you need.

      Reply
  8. Alex says

    May 6, 2016 at 8:36 pm

    "Lookup fields get their options from submitted entries so you can easily create dynamic field options."

    Will entries from others wp plugins software will be taken into account to ?

    Reply
    • Jamie says

      May 11, 2016 at 3:47 am

      Unfortunately not - Lookup fields will only retrieve entries submitted in a Formidable form. Thanks for the inquiry though!

      Reply
  9. mariusfv says

    May 13, 2016 at 10:51 am

    Nice this feature with Lookup fields, my first thought was to a search form with autocomplete enabled.
    But when jQuery instead of "Choosen" for dropdown autocomplete? We want to have mobile support for autocomplete dropdown fields too...

    Reply
    • Jamie says

      May 16, 2016 at 1:41 pm

      I'm not sure when Chosen will be switched out for jQuery's autocomplete, but Chosen did some updates and they are compatible with mobile devices now. If you have any questions about this, feel free to create a topic in the help desk! I would be happy to help if you have any issues with your autocomplete dropdowns on mobile devices.

      Reply
  10. Danny says

    October 30, 2019 at 7:53 am

    In your example the lookup field is a dropdown but is there a way that it can be a searchable input field?

    I have a CSV of 300 businesses and their company information. I'd like to import it and build a form that can populate fields based on the lookup field.

    Is this possible?

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Get Email Updates

Popular Resources

    • How to Create a Searchable Database on a WordPress Site
    • Create a WordPress Custom Calculator: Easy, Powerful Results
    • How to Create a Fitness Tracker in WordPress
    • Formidable Views: The Best WordPress Custom Application Plugin
    • How To Require Email To Download Files in WordPress
    • How to Create Conditional Drop Down Lists in WordPress Forms
    • Best Gravity Forms Alternative for WordPress: Formidable Forms vs. Gravity Forms
    • How to Make a Quiz in WordPress
    • WPForms Alternative: Formidable Forms vs. WPForms Compared

Take on bigger projects Right Now

Get the tools you need to revolutionize your workflow and architect a masterpiece. Build the most advanced WordPress forms and actually use the data you collect in meaningful ways.

Get the most advanced WordPress form plugin and the only form builder with integrated Views.

Get Formidable Forms Now

Resources

  • Community
  • Affiliates
  • Contact
  • Free Online Form Builder

Top Features

  • Application Builder
  • Calculator Forms
  • Surveys & Polls
  • Quiz Maker
  • Form Templates
  • Application Templates
  • Directories
  • Donation Plugin

Company

  • About Us
  • Giving Back
  • Careers
  • Newsletter
  • WP Tasty
  • Nutrifox

Copyright © 2023 Strategy11, LLC. Formidable Forms® is a registered trademark Strategy11, LLC.
Privacy Policy | Terms of Service | Sitemap

Join 300,000+ using Formidable Forms to create form-focused solutions fast. Get Started See User Reviews