Answered
How to set the export values for dropdown list in Adobe PDF JavaScript?
I want to set the Export Values for a dropdown list in an Adobe pdf form using javascript. This is the code I have currently in the document-wide javascript:
var dropDownVal = ["one", "two", "three"];
var dropDownExportVal = [1, 2, 3];
var field = this.getField("Numbers");
field.setItems(dropDownVal);
field.exportValues(dropDownExportVal);The dropdown list is populated with the dropDownVal array but the properties of the cell show no export value. Any assistance or links to documentation would be great.
