How can I load a view into select options?

By: Jack Parker | Asked: 11/09/2023
ForumsCategory: How-toHow can I load a view into select options?
Jack Parker asked 9 months ago
Friends, I would like to load a view into a select field.  The view shows first name, last name from a form called Users.  How do I do this?  
Rob LeVineRob LeVine replied 9 months ago

I'll be honest that I have no idea what you mean by loading a view into a select field. Do you mean that you want to populate an HTML select element with values from a form's entries? I'm guessing you either want to use a Dynamic field or you want to tailor one of the examples found here - https://formidableforms.com/knowledgebase/frm_setup_new_fields_vars/#kb-examples

Jack Parker replied 9 months ago

Thank you. Yes, I want to populate the HTML select element with values from form entries. I will look at the link you suggest.

Jack Parker replied 9 months ago

I have tried to make this work and still struggle. Can someone help me with the actual code? This should be simple - because I am not asking for any complex tasks...but the answer is evading me.

I have a form with a select field. This select field needs to be populated with entries from a form X: (fname,lname) Just two fields from form X. But I want to filter the entries based on email address (where email=abc). So I want the select field to show first and last names only for those people who share an email address.

Can someone help with this?

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