Not applicable
19-07-2013
12:26 PDT
- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
This should do the trick:
in the "change" event of DropDownList1, put this:
if (xfa.event.newText == "None"){
DropDownList2.selectedIndex = 3; // at pos. 3, you should have "None"
// otherwise change here at your convenience
}
else {
DropDownList2.selectedIndex = 0; // here first element empty/default
// maybe you prefer the last one
}
Note that generally dropdown boxes have the first or last element empty/default; this way, when you script the "else" part, you can easily reset DropDownList2.
Views
Replies
0 Likes
Total Likes