Populate the Dropdown based on the Selected Country Dropdown Value.

By: deven D | Asked: 06/17/2024
ForumsCategory: How-toPopulate the Dropdown based on the Selected Country Dropdown Value.
deven Ddeven D asked 3 months ago

I have a registration form for students that includes multiple dropdowns, such as Country, Select Your School, and Select Your Country Partner. The School and Country Partner dropdowns are custom post types, and I am using the Lookup field to display these dropdowns on the registration form. I need the dropdowns to filter dynamically based on the selected country. For example, if a student selects India, only Indian schools and partners should be displayed. Similarly, if a student selects UAE, only UAE schools and partners should be shown. Please share a solution.

1 Answers
Victor Font answered 3 months ago
Cascading dynamic fields are the best approach to accomplish your goal, but if you're not using dynamic fields, you'll need to review your design. See these articles: https://formidableforms.com/knowledgebase/dynamic-vs-lookup-fields/, https://formidableforms.com/knowledgebase/dynamic/

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