Forums
This topic is locked
Cascading Drop-Down Menus
Posted 23 years ago
1
has voted
23 years ago Eric Schreiner posted:
I'm using UltraDev 4 with ColdFusion server model and would like to know how to create what I think would be called "cascading drop-down menus". The items in the drop-down boxes are coming from an Access database (that can be redesigned to support any solution). The successive drop-down boxes need to work in a way that after an item is selected in the first box, the options available in the second box will be a subset of the previous selection. Examples I have seen on the internet are Firestone and other tire companies, where you first select the model year of your car, which in turn gives you a subset (make) to select your brand of car, which in turn gives you another subset (model) to select the car you want to buy tires for. How is this done?<b>Thanks in advance for any feedback!</b>
Replies
Replied 23 years ago
23 years ago I Mahomed replied:
well i do this like so i set the first drop down to submit to the same page with what ever id passed in the url, i check if the id is not blank then i run my query for the the second box and populate it ..
the catch bout this is you havta have the drop down boxes at the top or what ever was filled in the form will be lost
the catch bout this is you havta have the drop down boxes at the top or what ever was filled in the form will be lost
Replied 23 years ago
23 years ago Mitchel Tendler replied:
Replied 23 years ago
23 years ago alex frew replied:
GOTO THE ULTRADEV SITE WITHEN MACROMEDIA THEN ENTER A SEARCH - MULTIPLE MENU/DROP
THIS WILL BRING UP A TUT FOR YOU WITH CODEING FOR YOU TO ENTER INTO YOUR PAGE, IT WORKED FOR ME.
ALEX.
THIS WILL BRING UP A TUT FOR YOU WITH CODEING FOR YOU TO ENTER INTO YOUR PAGE, IT WORKED FOR ME.
ALEX.
Replied 23 years ago
23 years ago Eric Schreiner replied:
Thanks to Disorder, mitchelt, and alex.frew for the great and helpful replies. Hope I can return the favor (and soon)!