DHTMLX Docs & Samples Explorer

onBeforeClear

Occurs before the user clears the list of files to upload ( clicks on button ).

Parameters:

  • none
myForm.attachEvent("onBeforeClear", function(){
    // any custom logic here
    return true;
});
  • Returning false will cancel the 'clear' operation