Hello,

I'm trying to get both the selected value and the display expression from
a picklist in a form script.
I came up with this:

var bobby = JUICE.UICtrlUtil.getAllValues(itemsObj);
alert("GETVAL0: " + bobby[0]);
alert("GETVAL1: " + bobby[1]);

The issue is that bobby[0] and bobby[1] returns the entire set of values,
and not only the selected one.
Can anyone tell me how to get only the selected values of both the value
and the display expression?