0

my question is about Drupal.

i want to create a content type for creating ads on my site and i need state and city fields. the city list should changes on state selection change.

i have no idea about implementing this issue.i guess maybe the cck and taxonomy modules are enough to gain this goal but i am not sure.

i am a php programmer and can implement any php codes if is needed.

thank you for your help.

hd.
  • 17,596
  • 46
  • 115
  • 165

1 Answers1

1

The active select module defines the activeselect form element. An activeselect element is the same as a regular select element, except that when the user selects a new option (or set of options), one or more different select elements (the target elements) get their lists updated. This is done using AJAX, and it is designed to degrade gracefully if the required JavaScript support is not present. The target elements can be either regular select boxes, or other activeselect boxes (which in turn can trigger other target boxes, which can trigger yet others, resulting in a hierarchical cascade of activeselect elements).

Don't bother installing this module unless some other module instructs you to do so.

http://drupal.org/node/74747

but does not seem to exist for drupal>6