Copy link to clipboard
Copied
I want to give a lower and upper limit to the (PDF) file size that can be uploaded into a PDF form field. How can I achieve the same?
Copy link to clipboard
Copied
I want to give a lower and upper limit to the (PDF) file size that can be uploaded into a PDF form field. How can I achieve the same?
Copy link to clipboard
Copied
Do you mean a file that's attached to the PDF? It's not possible to do that.
Copy link to clipboard
Copied
However, you can attach the file, check the size, and then remove the attachment before saving if the size doesn't match the criteria.
Copy link to clipboard
Copied
That won't work because the file-size value only updates when the file is saved.
Copy link to clipboard
Copied
True... for the PDF. But you can get the file size of the attachment immediately after attaching it.
Copy link to clipboard
Copied
True as well...