Hi,
In the exit event of the DropDown write th efollowing script.
if (this.rawValue == null)
{
Field1.access = "readOnly"; // Those fields which shall remain inactive.
Field2.access = "readOnly";
DropDownList2.access = "readOnly";
}
else
{
Field1.access = "open"; // Those fields which shall remain active.
Field2.access = "open";
DropDownList2.access = "open";
DropDownList2.addItem('A'); // Those specific items that need to be populated in the 2nd DropDown.
DropDownList2.addItem('B);
}
if(DrowpDownList.rawValue == 'A')
{
Field1.rawValue == "That Value you want to display";
}
else
{
Field2.rawValue == "That Value you want to display";
}
Thanks,
Bibhu.