Copy link to clipboard
Copied
When in a form with fillable fields in Acrobat Pro DC, I can click Prepare Form, then More, then Set Field Calculation Order...
A dialog pops up showing "calculated fields".
How can I get a list of ALL fillable fields?
roricka
Copy link to clipboard
Copied
The full list is available under the Fields list at the bottom right of the window in Prepare Form mode.
Copy link to clipboard
Copied
The full list is available under the Fields list at the bottom right of the window in Prepare Form mode.
Copy link to clipboard
Copied
You can also print it out to the console using a simple script.
Copy link to clipboard
Copied
With Acrobat JavaScript you get the number of fields and get the nth field name from the internal array of field names. This data will let you write a loop in JavaScript to get the each field name and you could also get some properties fo the fields but not if the field is calculated.
You can write the names out to the console in Acrobat or Reader and with only Acrobat you could write a PDF report.
A starting script:
// get a list of field names and some properties;
console.show();
console.clear();
console.println("Number of fileds: " + this.numFields);
for(var i = 0; i < this.numFields; i++)
{
console.println((i + 1) + ": " + this.getNthFieldName(i));
}
You could use this script in the JavaScript console or add to a button field.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now