Click to See Complete Forum and Search --> : Dropdown box options as a function of choice in other dropdown


NatuScape
11-27-2002, 07:46 AM
Hi all!

I am very new to JS and would like to use it to automatically populate the options in a dropdown box ("Area") as a function of a choice made in another box ("Department"). Can anyone help me set this up?

Thanks a bunch!

Natalia

P.S.: Just as an example, if the "Department" field is set to "Microporous Production" I want the "Area" field to have the following options: VMF4, Film 2, Film 1, PES Extraction, and MML. And if "Department" is set to "UF Production", I want "Area" to be either: Blue Machine, Wide Machine or Hydrolysis.

Havard
11-27-2002, 04:41 PM
Originally posted by Dave Clark
As someone who is "new to JS," it can be quite challenging to get one of those all set up and working correctly. However, you can go to the top of this page and click on JavaScriptSource and look in their Navigation section for a Combined Menu.

Not really... or?

As I understand the question NatuScape is looking for a way to change the second dropdown list based on the choice made in the first, while the Combined Menu section just shows a way to combine the selections of two dropdown lists into one link...

As a coincidence I am looking for the same thing... :o

Havard
11-27-2002, 06:11 PM
Yep, that's more like it.

Thanks :)