DHTMLX Docs & Samples Explorer

onBeforeValidate Event

Event occurs when validation was started but not applied

Parameters for inputs:

  • a form id
myform.attachEvent("onBeforeValidate", function (id){
    //any custom logic here
return true;
});

Returning false from event handler will prevent validation.