I have a form where there is also the possibility to manage N files PDF. These files could be uploaded and, obviously, deleted.
For upload, I have a ajax uploading (when you choose a file, the file is automatically uploaded. During the process you could do other things or uploads other files).
On the icon hover, there is the "X" button in order to delete the file.
In order to prevent accidentally deletions, I thought to do a "undo" flow.
The file will be deleted on form submit.
At this point I have some doubt:
- It's a good choice to do an automatic upload (no need to submit form) but for deletion no? (you need to submit the form)
- if yes, What's the best terminology for indicate the user that he have to submit the form in order to complete deletion? I have no too much space. I thought "file will be deleted on submit". But "submit" is not a clear word, and more explicative phrases are too large.