Im using the dropzone js (http://www.dropzonejs.com/) to upload files but I need to know how many files are currently inside the Dropzone, the user might have deleted some but I need to know if there is at least 1 file before I submit the whole form that the user is filling.
If i use the myDropzone.length it will still count the removed files from the dropzone so if the user adds 2 files and then removes one of them the .length would be = 2 and in that case I would need to know the real length which would be 1 in this particular case