i also used this script but nothing happened:
var vList = ListBox1.rawValue.split("\n");
for (var i = 0; i < vList.length; i++)
xfa.host.messageBox("Selected Values - " + vList[i]);
I'm applying it to the list box to execute upon "click"... not sure if that makes sense?