- This topic has 1 reply, 2 voices, and was last updated 6 years, 3 months ago by .
Viewing 2 posts – 1 through 2 (of 2 total)
Viewing 2 posts – 1 through 2 (of 2 total)
Posted
by
Forums › Forums › Search & Filter Pro › Location Search with state > city
Tagged: location
Hey there,
just bought the plugin and I am quite happy so far. But in my case I need a search form for the location of a custom post type entry (a car).
So the customer can select his state in a dropdown an then the second dropdown should only display the citys of that district.
How do I do that? I already created a Custom Post Type and a custom taxonomie. In my country are 16 states and about 200 cities I want to include. So it would be perfect to seperate them as childs / hierarchical.
State and City need to be separate fields, and different custom taxonomies. Then, to link them in the form, so that, when you select a State, the Cities for that State show, in the General settings tab of the form:
Set Auto Count (both settings) to ON
And then in the Form UI:
In each field set Hide Empty to ON