fires when the user adds a file to the upload queue
| realName | string | the real name of the file (as it's displayed in the control) | 
myForm.attachEvent("onBeforeFileAdd",function(realName){
    // your code here
    return true;
});
returning false will cancel the 'add' operation
Back to top