diff --git a/public/assets/form/form.js b/public/assets/form/form.js index 3066b4d32..a9821f03a 100644 --- a/public/assets/form/form.js +++ b/public/assets/form/form.js @@ -162,6 +162,11 @@ $(function() { _this.loadCss(_this.css_location) } + $.each(_this.options.attributes, function(index, item) { + if (item.name == 'file[]') { + _this.options.attributes.splice(index, 1); + } + }) if (_this.options.attachmentSupport === true || _this.options.attachmentSupport === 'true') { var attachment = { display: 'Attachments',