how to create 2 associated select lists using CCK?

breaddawson - February 23, 2008 - 16:09

i want to create a new content type which consists of "country" and "city", both of them are select list
the users can select their country first, for example , USA
then the "city" shows New York, Washington, etc
if they select China, then the "city" shows Beijing ,Shanghai , etc

i don't know if CCK can handle this, or other modules need? or i need to write my own module?
Thanks a lot.

Try this module.

ms1 - February 23, 2008 - 17:45

I think this is exactly what you are looking for.

http://drupal.org/project/FixedDataDropdown

Regards

thank u for your

breaddawson - February 24, 2008 - 03:41

thank u for your suggestion.
I tried this module, and i found it worked a bit differently fromwaht i want
that is , i want two select lists, users can choose one from the first, and then the second
but FixedDataDropdown just give me a textfield, not the first select list...

Please try these

ms1 - February 24, 2008 - 16:19

How would you do this in

cookiesunshinex - September 15, 2009 - 09:41

How would you do this in D6?

Dependent Dropdown and Active Select are both only for Drupal 5.

Is there a core or core CCK way of doing this in Drupal 6?

Regards

 
 

Drupal is a registered trademark of Dries Buytaert.