[Multiple File Upload] How to know how many files user dragged?

Forge Component
Published on 2 Jan by Remco Dekkinga
44 votes
Published on 2 Jan by Remco Dekkinga

I need to know for multi files upload how many files are there....

And is there any setting to limit how many files to be uploaded?

Hi Eric,

Have you seen the oml for how this has been implemented. When you drag and drop a file the widget uploads the file asynchronously in a temporary table and returns you the id of it every time.like in the example if you see when you upload the file it shows you what file you uploaded and other details of the file. In session filed you can send loggedin users session id to keep the track of how many files being uploaded and put your own restriction.



Hi thanks I'll look deeper