need: modified chained selects script
I've checked through most of the search results for DD's chained selects script, and I haven't found the solution to my problem.
Scripts that are similar to what I'm going for:
- DD's chained selects script
- Modified chained selects
- Another chained selects script
Problem:
I need a form that allows me to modify multiple drop-down boxes based on the choice of one box. For example, let's say in Box1, you make Choice A. I need Box2 to list different choices based on your choice in Box1, and I also need Box3 ( or 4, or 5, etc. ) to list different choices ( completely different from Box2 ) based on what choice you make in Box1.
For example, taking DD's car example: Let's say you choose "Toyota". Your choice of "Toyota" ends up listing different choices in the "select vehicle type" box. Let's say there's a third box, like car color, which is independent of the second box ("vehicle type") but is dependent on the choice made in the first box ("maker type").
So instead of being directly chained together, it's more like a tree.
( I tried searching for some kind of javascript tree form, but haven't found anything. )
Another question, slightly related: is there a way for the drop-down menus to be populated from external files? E.g. the drop-down menu is populated from a .txt that contains a list of all drop-down menu items, or something. It would also be awesome if I could do this with textboxes. ( Either if I could populate a text box from an external file, or using something similar to a chained selects script. )
ETA: I should add - I'm not sure if this second thing can be done with Javascript, so I'm open to pretty much any alternatives.