Detect when a file has been uploaded


This Discussion is public


I'm trying to have some javascript run when a valid file has been uploaded to a file field. For some reason I'm struggling to detect when a file has actually been added to the field.

Has anyone got a code example of some javascript that will run an action when a file has been uploaded?

I'm looking for this too. Dropzone has this function to check file uploaded

Dropzone.on('queuecomplete', function() {

However I cant make this functioning with formidable.

Reply to this Discussion