Copy link to clipboard
Copied
I need to count the number of fields in all pages of PDF form. Is there a quick way to determine this w/out scripting?
For instance, page 1 had 10 text fields, 5 checkboxes, 3 signature lines. I would like to get the total count of 18 in total. This chould aloso include the counts of subsequent pages.
Thanks in advance for any direction.
Copy link to clipboard
Copied
in the future, to find the best place to post your message, use the list here, https://community.adobe.com/
<moved from using the community>
Copy link to clipboard
Copied
Without the script, I don't think so.
Copy link to clipboard
Copied
Ok and with script? I'm just not knowledgeable on scripting.
Copy link to clipboard
Copied
app.alert("This file has " + this.numFields + " fields.",3);
Copy link to clipboard
Copied
Thank so much Nesa, this workly nicely. Would you code this to do some math for me and generate the results in hours for in #Fields * 3 + 30 = XHours.
Exmample: 10*3 + 30 = 1 Hour
Thanks again for the quick response.
Copy link to clipboard
Copied
You can calculate hours like this:
var nFields = this.numFields;
var hours = (nFields*3+30)/60;
Copy link to clipboard
Copied
Thanks, perfect...
Copy link to clipboard
Copied
You can use the FormReport plugin which is part of my free abracadabraTools, it lists all fields properties in a CSV file:
https://www.abracadabrapdf.net/?p=972