We're currently working on a desktop application which allows users to select up to 20 documents at once to perform operations such as delete, create PDF, email a copy etc.
As part of this, we're trying to determine a standard format for error messages for cases where multiple different errors apply, for example:
User selects 10 documents to delete -
- 7 documents are OK to delete
- 2 documents are checked out to another user
- 1 document has restricted permissions and can't be deleted by you
Our standard in this scenario is to tell the user which documents they can't delete and why, how to resolve the issue, then to ask if they want to cancel or continue to delete the remaining documents that they have selected.
Whilst we're trying to check what we can upfront, and I know this is preferrable, performance issues and other technical limitations mean that in some cases we are still going to have to run the validation after the action is requested and throw an error.
Our current format for errors of this type is below, but I'm sure it can be improved and that we're not the first to come across this scenario - is there a standard way to show multiple errors for bulk operations?
**Some of the selected documents could not be deleted** The following documents are being worked on by someone else: - Document1.docx - Document2.docx Ensure these documents are checked in before trying again. The following document is read only: - Document3.docx Contact the folder administrator if you require access to delete this document. Continue and delete the remaining documents you have selected? [Continue] [Cancel]