Limit upload to 1 single file


I’m using this example:
Can I limit the upload file to just one file?


form have new events like “onBeforeFileAdd”, return false will prevent adding files. attached zip contain required functionality, docs here … orefileadd (11.2 KB)

Thank you, worked perfect!

Hi again,

I change dhtmlxSuite free version 3.5 to dhtmlxSuite Pro version 3.6. But now, the event onBeforeFileAdd it’s not triggered anymore. I added also the code that you sent me in, but still not working.

Do you have any idea why it’s not working?

Forget about this. It’s working! :slight_smile:

sometimes its enough just to post a comment… :wink: