Dynamic exposed filters in Drupal 7

998 Views Asked by At

I've got a question in drupal. I have two filters. The values of the 2nd filter depends on what value was chosen in the first filter. Example. First filter values : Lakers,Clippers Second filter values : if Lakers was chosen = KOBE,GASOL if Clippers was chosen = PAUL,GRIFFIN .

Is there any module that supports this? Or do I have to code this? If I do is there any reference or guide that I could read and follow?

THANKS!

2

There are 2 best solutions below

2
On

Yes there is Drupal has a module called hierarchical select.

check this out https://drupal.org/project/hierarchical_select.

Hope this helps you.

0
On

Don't use hierachical select. It is chock full of bugs and since the maintainer went to work for Acquia, he no longer pays any attention to it. You'll have to write some code to make this work using contextual filters.