Detect when a file has been uploaded

Labels

This Discussion is public

Notifications

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