2

I have 3 fields ( Exposed filter ) 1 Country 2 State 3 City

When a respective Country is selected in the 1st field, I want the second filter ( Dropdown or autocompete ) to display states of the country selected in the 1st field & when this is done based on the state selection , I want the 3rd field to show only the cities belonging to the state selected in the second field.

How can this be done ? any help ?

0

If you have arranged your taxonomy in a hierarchical manner, then you can use the Hierarchical Select module:

https://www.drupal.org/project/hierarchical_select

  • i have seen hierarchical select & simple hierarchical select, these populate fields according to selection,while what I am looking for is 3 fields which are already there some thing like the screen shot here drupal.org/files/hierarchical_filters.png can you guide , please – Ahmed May 15 '15 at 16:52
  • I am almost certain that Hierarchical Select can be configured to do what you are describing. In fact, there is an example of three drop-downs w/ defaults on the demo site: wimleers.com/demo/hierarchical-select/taxonomy – RoloDMonkey May 15 '15 at 17:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.