Avatar

Level 2

Ok,

Here is the question, I have a form with the following dropdowns:

Type:

Series:

Style:

What I need to have happen is The selection in Type drives what is populated in Series, then the selection in Series drives what is populated in Style.  I have the script on the change event which lets the Type drive the Series, but I cannot figure out how to script the Series to drive the Style.

Here is the script I used for the Type and Series functionality which works:  (Broadloom and Carpet Tile are entered as List Items on the Type DDL)

----- form1.#subform[0].Subform1.DropDownList2::change: - (JavaScript, client) ---------------------

DropDownList3.clearItems();

var sNewSel = this.boundItem(xfa.event.newText);

switch (sNewSel)

{

case "Broadloom":

DropDownList3.addItem("Thunder")

break;

case "Carpet Tile":

DropDownList3.addItem("Not Available")

break;

default:

break;

}

Please any help would be appreciated.