Check documentation for the latest version 6.0 of dhtmlxSuite onBeforeSave DHTMLX Docs

onBeforeSave

fires before saving the form

void onBeforeSave(string|number id,object values){ ... };

Parameters

idstring|numberthe form id
valuesobjecta hash of values

Example

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

Details

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

Back to top