DHTMLX Docs & Samples Explorer

onValidateError Event

Event occurs for each error during validation

Parameters for inputs:

  • an input element
  • a current value
  • the result of validation
myform.attachEvent("onValidateError", function (input, value, result){
    //any custom logic here
});