- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Thats one way to do it it you coudl write code n the exit event that woudl populate the 2nd ddlist based on the value chosen in the 1st list. Assuming the list with Gender is DDlist1 and the names is DDlist2 the javascript code would be placed on the exit event of the DDlist1 object and woud look something
like this:
//Cleanup the DDlist2
DDlist2.rawValue = "";
DDlist2.clearItems();
//User selected Male from the list
if (this.rawValue == "Male"){
DDlisr2.addItem("Frank")
DDlist2.addItem("Bob")
add one statement for each name
} else {
//Only two choices so the other choice must be selected
DDlist2.addItem("Rachael");
DDlist2.addItem("Julie");
add one statement for each name
}
Hope that helps
Paul