Copy link to clipboard
Copied
i am editing an existing form using Acrobat Pro DC, and need to make changes to the options in a List Box. I would like to extract all of the options available in the List Box so that I can then paste them into a Word Document. My goal is to get an at-a-glance view of all of the options in a one page list.
Any ideas would be appreciated
Copy link to clipboard
Copied
Sure, it's easily done with a script.
Open the JS Console (Ctrl+J) and paste this code into it:
var f = this.getField("Dropdown1");
for (var i=0; i<f.numItems; i++)
console.println(f.getItemAt(i));
Edit the first line and replace "Dropdown1" with the actual field name (keep the quotes, though).
Then select all of the code with the mouse and press Ctrl+Enter.
The script will print to the console the list of items for that field.
Copy link to clipboard
Copied
try67 - Thanks so much, that is a real time-saver!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now