I have a multi select option in dcr. I want to reterive all the multi selected values in the presentation template. I've tried using this function in the FormAPI but it only returns the first value.
function checkVenueOptions (item) {
var venue_option = item.getName();
var ven_ops = IWDatacapture.getItem(venue_option).getValue();
for (var i = 0; i < ven_ops.length; i++) {
var venue_value = item.getOptions()[parseInt(item.getValue())].value;
alert(ven_ops);
}
}
Am I missing something? Thanks.