Location Search with state > city

Forums › Forums › Search & Filter Pro › Location Search with state > city

Tagged: 

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #252681

    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.

    Trevor
    #252750

    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

Viewing 2 posts – 1 through 2 (of 2 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.