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