Click to See Complete Forum and Search --> : mutually exclusive drop down lists


brittonlj
07-18-2003, 07:33 PM
Hello,
I need to make 4 drop downs which display 5 values each (" ", "1", "2", "3", "4").

When one of the combos is selected I need each of the other 3 lists to remove this value from the list of available answers.

Also, when a combo is changed back to a " " value, the former selected value should then be re-added to each of the other 3 combo boxes.

The function is to have 4 objects for the user to order in preference 1-4.

If the user rates the first object a "1" then the other objects should only show values of " ", "2","3" and "4".

I've seen scripts that create conditional menus but they all appear to just go from "left to right" if you know what I mean. If Item 3 is changed, I want to change lists 1,2 and 4, not just 4 like most scripts seem to do.

Any help is appreciated.

AdamBrill
07-18-2003, 09:53 PM
Take a look at the attached code. I hope that helps. :)

brittonlj
07-18-2003, 10:54 PM
Absolutely perfect.

I've been banging my head on the wall for hours!

Thanks much :)

AdamBrill
07-18-2003, 10:57 PM
Good, I'm glad I could help. ;)