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

Forge Component
(21)
Published on 8 Aug by Renato Pauleta
21 votes
Published on 8 Aug 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.