Question
How to "count" number of attachments to .PDF and return total to form field?
I want to attach files to a PDF document using a "attach files" button (script works fine—all is well on this end).
Once files are attached, I would like a total of files attached to show in a form field on the PDF itself. So if there are two files attached, then the field reads "2". If there is one, then the field reads "1".
Thank you in advance!
