[File Upload] FileUpload how to check number of files before uploading

Forge Component
(22)
Published on 24 Jan (4 weeks ago) by Renato Pauleta
22 votes
Published on 24 Jan (4 weeks ago) by Renato Pauleta

Hi,


Currently I am looking for a solution on how to get the number of files the user are uploading, I want to get this number BEFORE the upload begins. I need to limit the number of files the user can upload to 50 files.
And stop the application / Feedback a message that the maximum number is 50 files per upload.


Thank you!

Deus

The library has limitMultiFileUploads option. It comes handy when one wants to limit the number of files uploaded.



Hi, I set the JQuery parameter value of limitMultiFileUploads in the jQueryFileUpload9_22_0 web block but this doesn't impact the number of files that I can select or the number of files being uploaded.

Were you able to make this work?