Check documentation for the latest version of dhtmlxSuite onBeforeSave DHTMLX Docs

onBeforeSave

fires before saving the form

void onBeforeSave(string|number id,object values);
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