DHTMLX Docs & Samples Explorer

onBeforeBinding Event

Event occurs when data for the form is received , but before it assigned to actual fields

Parameters for inputs

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

Event is blockable. Returning false will prevent loading data in the form