I need to develop a search form with two differents taxonomy (taxo1,taxo2).

When a user selects in taxo1 la term, the second list has to be shown with inside only corresponding taxonomy terms.

Here is a example: if the user selects term departement in the first taxonomy taxo1 (using a select list), then a second select list (with terms from taxo2) should appear with only towns from the department previuously selected.

I can't do that with Views because filters can not interact.

Can anybody give me a way to do this?

  • OK, "now" I understand the question. I integrated your extra comment in your question (next time just try to "edit" your question instead of adding extra comments). You can not "delete" your comment ... Jun 29, 2015 at 19:31

1 Answer 1


What you are looking for is hierarchical list and can be accomplished by using these well-maintained modules below. The difference is Simple Hierarchical Select module provides a simpler implementation for dependent taxonomies [might work for your situation better].

- Hierarchical select -- This module defines the "hierarchical_select" form element, which is a greatly enhanced way for letting the user select items in a hierarchy. Hierarchical Select has the ability to save the entire lineage of a selection or only the "deepest" selection. You can configure it to force the user to make a selection as deep as possible in the tree, or allow the user to select an item anywhere in the tree. Levels can be labeled, you can configure limit the number of items that can be selected, configure a title for the dropbox, choose a site-wide animation delay, and so on. You can even create new items and levels through Hierarchical Select!

Simple hierarchical select Simple hierarchical select defines a new form widget for taxonomy fields to select a term by "browsing" through the vocabularies hierarchy. The widget is available in node forms and as Views exposed filter.This module has been inspired by Hierarchical select but is much simpler (hence the name ;) ).Unlike Hierarchical select this module provides a simple widget for taxonomy terms only. As an addition Simple hierachical select works as Views exposed filter.

  • thanks for your answer. I need to create two filters separated. when user select item in the first list, then only results has to be shown in the second list. I really appreciate to work with views. But I don't know if it's better to create a form programmatically or just create a view and use query_alter to obtain what I need. Jun 30, 2015 at 9:53
  • I just find views_selective_filters maybe I can achieve this task with this module ? Jun 30, 2015 at 10:24
  • Christophe, are these filters related (ie. Filter 1 > BMW and then Filter 2> you see all BWM models (m3, x3 etc). (with exposed filters) Is that what you're referring to? In either, please take a look at those modules above and see if it works for your case.
    – JT-Drupal
    Jul 7, 2015 at 14:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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