This topic is locked

Linked Table using Lookup Wizard?

3/12/2004 4:56:34 PM
ASPRunnerPro General questions
G
Greg author

Is it possible to Link two table driven dropdown lists based on the selection of the first?
For Example. I have a table driven dropdown that lists Cars. If you choose a Ford from the first dropdown list, it would then need to fill the second dropdown from the file that would then select only the cars made by Ford.
Does someone have this code?

Sergey Kornilov admin 3/12/2004

Greg,
take a look at this site that uses dynamic dropdowns:

http://www.bookryanair.com/skylights/cgi-b...nguage=EN&fr=ry
You need to preload all data when page loads and use Javascript onChange event to to update controls.

G
Greg author 3/12/2004

Ouch, I wish I was that good. I can't quite figure it out. I could use another hint.

Is the example using a table or is the data hard coded?

Sergey Kornilov admin 3/12/2004

I'm not sure how they did that. I guess this page is database-driven.
To implement something like this you need to know little SQL, ASP and Javascript.