I am running 8.2 and I am having a problem returning the index value of item(s) selected in a List Box on my form in Designer.
I have a List Box that is populated by at webservice and everything works fine. I am able to display the selected name(s)s for the item(s) selected in the list box but I can't seem to get the index value. Below is my Javascript code.
var a = xfa.resolveNode("lbAccountGroup.value").nodes;
xfa.host.messageBox(a.item(0).value); //Display's selection only for verification.
Does anyone have any advice on how to do this? I have tried selectedIndex and index instead of value and nothing has worked.
Thank you in advance.
John