Automatically fill combobox in views

Events happening in the community are now at Drupal community events on www.drupal.org.
supergogy's picture

I have created views with a node type (Property) that has term reference to vocabulary (Cities).
Vocabulary (Cities) has a terms in a hierarchical order (City-Street).

I need to do the views in which I have two combobox for vocabulary terms (City-Street) with the following behavior:

  • When user select a City I would like to automatically fill the second combobox(Street).
  • When user select City I need a list all of the streets for that terms. Now I have a list only when user select an item from combobox Street.

I have tried the Hierarchical Select module and it didn't meet my needs.

Do I need to make my own module, and which hook or hooks to use, or is there another solution?

I hope that I was clear.

Thanks in advance.

Best regards,

Goran

Comments

Hi there, have you tried the

juliavdw's picture

Hi there, have you tried the Views Hacks module? http://drupal.org/project/views_hacks
It may help in combination with hierarchical select...

Thank you for response. Views

supergogy's picture

Thank you for response.

Views Hacks module is for Drupal 6. I forgot to mention that I am working on Drupal 7.

Probably I'll have to make my own module.

Ah sorry, I haven't yet tried

juliavdw's picture

Ah sorry, I haven't yet tried to do this on Drupal 7.

Views Developers

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: