how do I get the values of a dynamic field (not ids) in a lookup field of another form?

By: Chad Meinertz | Asked: 02/22/2025
ForumsCategory: General questionshow do I get the values of a dynamic field (not ids) in a lookup field of another form?
Chad Meinertz asked 4 weeks ago

I have a Group Form to collect a bunch of Group Names

I have a Registration Form where I added a dynamic field that pulls the names from the Group Form's entries.

This works great, but if I create a third form to filter a view on the Registration Form entries and I try to add the Group Name dynamic field as a lookup field on the Search Form it's not showing the names of the groups, just IDs are showing up. 

How do I get the names of the groups in the Registration Form Entries in the lookup field of the Search Form?

1 Answers
Victor Font Staff answered 4 weeks ago

The names of dynamic fields? What do you mean by names? Fields have ids or keys that are used for identifying fields. If you want to learn how dynamic fields work, this is a good place to start: https://formidableforms.com/knowledgebase/dynamic-vs-lookup-fields/

Chad Meinertz replied 2 weeks ago

Thanks for the link. I've read through that page several times, but I'm not finding a solution. I updated the question with more details of my situation.

Chad Meinertz replied 2 weeks ago

I did find this in the docs - https://formidableforms.com/knowledgebase/frm_filtered_lookup_options/#kb-add-extra-content-to-lookup-options

and I was able to append something to the ID that is getting displayed but then the other lookup fields on my form are not filtering results because the values don't match anymore. Also how do I get the group name instead of the ID?

Victor Font Staff replied 2 weeks ago

I don't know what you mean by group name. By appending text to a dynamic field, you break the link to the field. What are you actually trying to do?

Victor Font Staff replied 2 weeks ago

Are you sure you're using a dynamic field? Dynamic fields do not work the same as lookup fields. The code you reference is specific to lookup fields, not dynamic fields. Please explain the technical problem you're trying to solve?

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right