Populate category dropdown based on choice first dropdown
-
Hello,
I have created a search form with multiple dropdowns:
– 1 category dropdown (works fine)2 taxonomy dropdowns in which:
– dropdown 1 shows the mother taxonomies(works fine as well)
– dropdown 2 shows the child taxonomies.I have 2 main taxonomies (Country 1, Country 2) and they all have their necessary childs (states).
Now I want to fill the second taxonomy dropdown depending on the choice at the first taxonomy dropdown. So if someone chooses country 1 it should state the childs of country 1, while when someone chooses country 2it should state the childs of country 2.
I know I should use javascript for this but unfortunately my capabilities in javascript are limitted. Anyone that can help me out on this one?
Thanks a lot in advance.
Joost
- The topic ‘Populate category dropdown based on choice first dropdown’ is closed to new replies.