Hi,

on my old site i made a form wich did the following: (Actually i have more forms like this, but this one is a good example)

User had to enter a city. There was autocomplete to help him. After hitting submit, i (1) checked the db if such a city was there and (2) if i found one i added a select box with all zipcodes for this city name.
(3) the submit button would only appair if there was a valid city name and a valid zipcode.

Anybody can point me in the right direction ?

I found an old demo for 5.x: http://blue.live4all.co.il/~mooffie/cms/node/15 wich would have been perfect
For 6 there is Hierarchical select: http://drupal.org/project/hierarchical_select
http://wimleers.com/demo/hierarchical-select/taxonomy
But i don´t even understand how to make a demo work..

Comments

WorldFallz’s picture

Hierarchical_select works with a hierarchical taxonomy vocabulary, if you want a dependent drop down for cck fields see the http://drupal.org/project/conditional_fields module.