By ctspsr on
Hi All,
I am trying to create a form that has two drop down list boxes. Does any know if there is a way to create the form in drupal api that will let me re-load the items in dropdown list 2 based on the item selected in dropdownlist 1?
For example:
Drop Down List 1:
----------------------
List Title: Country
Items in the List:
USA
Canada
Drop Down List 2:
----------------------
List Title: State/Province
Items in the List:
Based on selection made in Drop Down List 1
Comments
dynamic loading of drop down lists using AJAX
For the above situation (Loading one drop down list based on the choice made in another drop down list) did any one wrote an AJAX script with a form built on drupal api?
If so appreciate if you can share with me any related code snippet.
No responses ?
I stumbled on this question because I'm looking for the same thing. I wrote this previously with AJAX but not for a Drupal site.
I'm trying to build it custom now and if anyone has already done this please send me some info. Like wise if I build it I'll pass it along to you.
Thanks,
-P
I'm very interessed. Just
I'm very interessed.
Just watching this.
me subscribing too
me subscribing too
subscribing
this feature request just came up in my work yesterday; subscribing
Interested as well
Seems like a high bar for my first customisation in drupal but I'm looking excactely for this feature as well. A "nice-menu" list of 150 Entries without the ability to scroll is not really statisfying. I'm thinking of 2 oldschool javascript drop-down lists.
I will start my reseach in the hope that something happens in this thread as well.