I have a requirement of populating a field based on the value selected
in a 2 way picklist. Now, if i select more than one value in the 2 way
picklist, i need to set the other field as blank. I am using the
following code to find the index of the selected value and its value:

var index = document.uiform._CoreRoles.selectedIndex;
var SelectedValueName = document.uiform._CoreRoles[index].value;

Now, when multiple values are selected and the above variables are
printed using the alert method, the index and the value of the value
that has the lowest index is printed. Can anybody help me in this


skachru's Profile: http://forums.novell.com/member.php?userid=22778
View this thread: http://forums.novell.com/showthread.php?t=375526