troubleshooting Question

DropZone - remove selected file

Avatar of Aleks
AleksFlag for United States of America asked on
Web DevelopmentASPjQuery
9 Comments1 Solution1194 ViewsLast Modified:
I am using DropZone with PureASP to upload multiple documents at once.
It works great, however if a user selects say 5 documents and then realizes one of them should not be uploaded, there is no option, checkbox or anything to remove it from the DropZone.  How can I do this ?

This is the script I am currently using:


            Dropzone.options.myAwesomeDropzone = {

                url: "attachments_add.asp?employerid=<%=Request.QueryString("employerid")%>&mode=upload",
                autoProcessQueue: false,
                uploadMultiple: true,
                parallelUploads: 20,
                maxFiles: 20,
				maxFilesize: 100,
				acceptedFiles: ".png,.jpg,.gif,.bmp,.jpeg,.tif,.tiff,.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.pps,.ppsx,.odt,.zip,.txt,.rtf",
                // Dropzone settings
                init: function() {
                    var myDropzone = this;

                    this.element.querySelector("button[type=submit]").addEventListener("click", function(e) {
                    this.on("sendingmultiple", function() {
                    this.on("successmultiple", function(files, response) {
                    this.on("errormultiple", function(files, response) {


Big Monty
Web Ninja at large

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros