DHTMLX Docs & Samples Explorer

onBeforeReset Event

Event occurs before resetting the form

Parameters for inputs

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

Event is blockable. Returning false will prevent form resetting