fires before saving the form
id | string|number | the form id |
values | object | a hash of values |
myForm.attachEvent("onBeforeSave", function (id, values){
//your code here
return true;
});
The event is blockable. Returning "false" will prevent form saving
Back to top