I put the uncompressed javascript for fabrik and the error now is here
Fabrik.fireEvent('fabrik.form.submit.end', [this]);
if (this.result === false) {
this.result = true;
e.stop();
// Update global status error
this.updateMainError();
} else {
// Enables the list to clean up the form and custom events
if (this.options.ajax) {
e.stop();
Fabrik.fireEvent('fabrik.form.ajax.submit.end', [this]);
} else {
// Inject submit button name/value.
new Element('input', {type: 'hidden', name: btn.name, value: btn.value}).inject(this.form);
this.form.submit();
}
}
}.bind(this));
e.stop();
},
btn.name cannot be found (Uncaught TypeError: Cannot read property 'name' of undefined )