Check documentation for the latest version of dhtmlxSuite onBeforeReset DHTMLX Docs

onBeforeReset

fires before resetting the form

void onBeforeReset(string|number id,object values);
idstring|numberthe form id
valuesobjecta hash of values

Example

myForm.attachEvent("onBeforeReset", function (id, values){
    // your code here
return true;
});

Details

The event is blockable. Returning "false" will prevent form resetting.

Back to top