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

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

  
Forge Component
(38)
Published on 19 Sep by Caio Santana Magalhães
38 votes
Published on 19 Sep by Caio Santana Magalhães

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.


Regards

-PJ-

Hi thanks I'll look deeper