Lookup Field - Filter from Regular Radio Button Field

By: AJ Shippy140 | Asked: 04/20/2023
ForumsCategory: General questionsLookup Field - Filter from Regular Radio Button Field
AJ Shippy140 asked 1 year ago
Hi - we're wanting to do a lookup field with the same view as the radio button field with images. However, read in the documentation that is not possible. 

Is there a way for us to utilize the non-lookup radio button image field to cascade filter a lookup field?
Walter JonesWalter Jones replied 1 year ago

You might be able to do it with conditional logic.

Create your radio image field and then a regular lookup field. When the radio field is clicked the conditional logic will show the lookup field.

AJ Khanijow replied 1 year ago

Would there be a way to automatically select a default value for the lookup field based on what the user selects in the radio button field?

Otherwise, by using conditions (If I am understanding correctly), I would have to create several lookups to different tables right?

Walter JonesWalter Jones replied 1 year ago

The lookups relate to fields in other forms. So you could have 10 forms each with different fields, and bring those fields into one form using a look-up. You can limit the content natively by logged in USER for the lookup fields, but there may also be some hooks you can use. I have never tried to set a default value for a lookup field, it would defeat the purpose in most of my applications to set a default, but you could certainly try.

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