Skip to main content
davinarae
Participant
July 14, 2017
Question

I need to set a PDF file limit to be 5 MB. Is there a way to create this restriction? Is there a code I can insert into the actual uploads icon to set individual attachment file size limits?

  • July 14, 2017
  • 1 reply
  • 1727 views

I need to set a PDF file limit to be 5 MB. Is there a way to create this restriction? Is there a code I can insert into the actual uploads icon to set individual attachment file size limits in Adobe Acrobat Reader.

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
July 14, 2017

It's possible to include a check of the file's size before submitting it. But is the file being submitting from within it (using a Submit button, for example), or is it being uploaded to a web-site?

davinarae
davinaraeAuthor
Participant
July 14, 2017

Its being uploaded to a website and the file size limit is 5 MB. Users are uploading files into our interactive PDF at no limit, currently. We hope to set restrictions directly into the interactive PDF.

try67
Community Expert
Community Expert
July 14, 2017

You can set a file-size limit in your HTML page. There's no need to have a double-check... Inside the PDF file it's more difficult to implement such a control because the file-size doesn't change until you actually save the file, so someone can attach multiple files, click the "Validate File Size" button and get a positive reply, but then when they actually save the file it will go beyond 5MB and the web-site won't accept it, which is annoying.