Hi,

I am using the basic demo and have disabled the auto start upload in handlers.js and added a "Start Upload" button.

I would like the button to be disabled until there are 12 files in the queue.

So far I have removed the Cancel button and changed the ref to startButtonId. This disables the start button if there are 0 files in the queue and activates it once a file has been added.

I have tried changing:

if (numFilesSelected > 0) {
document.getElementById(this.customSettings.startButtonId).disabled = false;
}

to:

if (numFilesSelected > 11) {
document.getElementById(this.customSettings.startButtonId).disabled = false;
}

With this code the button stays disabled all the time. Can someone point me in the right direction?