How can I make a dropdown list conditional?
-
Suppose that I lived in a large country, like the U.S., Russia or China. So it would be a good idea to have a dropdown list for ‘province’ or ‘state’, and a dropdown list for ‘city’.
How can I make the ‘city’ dropdown list conditional to the ‘province’ dropdown list, so when I choose a province, only the cities in that particular province are shown in the next dropdown box?Also, how can I remove the first taxonomy from the dropdown list? For example, in the demo version of winningagent (https://demo.winningagent.com/winning-agent-pro-theme/), if you click on the first dropdown list ‘status’, ‘status’ appears as the first option, and likewise for the rest of the dropdown boxes, the first option is always the name of the taxonomy, which doesn’t look good.
Thanks
- The topic ‘How can I make a dropdown list conditional?’ is closed to new replies.