Hey there,
I have auto-upload disabled to give the user a chance to input a name for each file before upload. If the name is not unique — a check I do with an XHR request in onSubmit
— I'd like to prevent the file from being uploaded until the name is unique (checked on keyup
). I tried returning false
in onUpload
, but that doesn't seem to be supported, as the file is still uploaded. I know it's possible to prevent a file from being added, but that doesn't really help in this case. I'd like the file to be added, but prevent upload. Can you think of a way I can accomplish this flow?
I'm using v3.3 of the jQuery plugin.
Love the work you're doing — thanks!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4