I’m trying to determine if this is possible using this plugin. Essentially I have a post type for a business and that business needs to select from a per-determined list of states, cities, and neighborhoods.
I’ve already created that array using nested repeater fields on an option page. I’ve created 3 blank select fields that display on each business post called state, city, and neighborhood. I’m using the following code to add the states to the state select field.
My question is, is there any way to make it so when I select the state, it automatically clears the city select choices, and populates it with all the cities available for the selected state? And then does the same thing for the neighborhood select when the city is selected?