DHTMLX Docs & Samples Explorer

onBeforeValidate Event

Event occurs when validating started, but before any real validation is applied

Parameters for inputs

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

Returning false from event handler will prevent validation.