I have a ComboBox which has a list of Items that each have an Export Value. I can reference the Export Value using this.getField('ComboBox').value; How can I reference the Item value in another field?
See that documentation and example code for the following:
currentValueIndices field property: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.694.html
getItemAt field method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.745.html
Thanks George! Just what I needed.
For others here's what the code looks like in my case:
var f = this.getField("ComboBox");
var a = f.currentValueIndices;
event.value = f.getItemAt(a,false);