blueimp/jQuery-File-Upload — Issue #1077: formData
Author: entchucs
Created: 2012-03-06 19:36:25+00:00
State: open

How can I do something like this:

$('#fileupload').bind('fileuploadsubmit', function (e, data) {
var inputs = data.context.find(':input');
if (inputs.filter('[required][value=""]').first().focus().length) {
return false;
}
data.formData = { folder : 'folder value'};
data.formData = inputs.serializeArray();
});

I need to send the folder value and the inputs values...