Closed n-samir closed 4 years ago
Right now there is no flag that does it.
Yet you can use listen to the filebegin event and set a boolean flag to true in order to detect files (while the upload is in progress)
Waiting for your response to see if it helped.
var formidb = new formidable.IncomingForm(); formidb.on('progress', function(bytesAlreadyIn, bytesExpected) {..
I want to do something like: if (form-has-file-fields) formidb.on('progress', function(..) {..