Check documentation for the latest version of dhtmlxSuite onBeforeValidate DHTMLX Docs

onBeforeValidate

fires when validation has started but is not applied yet

void onBeforeValidate(string|number id);
idstring|numberthe form id

Example

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

Details

Returning "false" from the event handler will prevent validation

Back to top