Multiple file upload usind Drupal 7 Form API

Some days ago I was working with very strange situation. I was implementing the multiple file upload. I googled it and found many solution like plupload and html5 upload any many moreā€¦

But I was curious whether can I implement with drupal form API or not. After digging little bit what I found was really interesting and awesome solution. Though I implemented using plupload but this solution using Drupal Form API is too good..

Here is how I achieved it..

I was integrating it in filedepot module, and in this module file upload is handled by the custom Ctools file upload form, so i have to do

Tags: