we have a multiple select box, which contains comma on the value
< option value="A" label="A"/>
< option value="B, C" label="B, C"/>
the DCR save option with "B, C", and we have the following javascript to retrieved the saved value,
which will get B and C in separate value,
does it possible to get "B, C"?
var item = IWDatacapture.getItem(fieldName);
var itemValAry = item.getValue();
for(var j=0; j < itemValAry.length; j++){
var value = item.getOptions()[itemValAry].value;
alert ( value );
}
how could we save the comma on option field and how can we retrieve back?