I\'ve successfully integrated dropzone.js inside an existing form. This form posts the attachments and other inputs like checkboxes, etc.
When I submit the form wit
I have successfully used :
submitButton.addEventListener("click", function () { if(wrapperThis.files.length){ error = `Please select a file`; } else { wrapperThis.processQueue(); } });