As a UI architect, I am always wondering about the best format to display errors and notifications to users.
Which of the following examples is the best format?
- Name is required
- Name cannot be empty
- Please enter name
User Experience Stack Exchange is a question and answer site for user experience researchers and experts. It only takes a minute to sign up.
Sign up to join this communityThere is a very simple rule that I use for myself: Error messages must not display error messages, they must display a solution message.
The user does not care what is wrong and why, he simply wants the issue solved.
I'd use something like, "You must enter your name".
It's always good to keep things short, but the most important thing is that the messages are easy to understand. I've worked in places where the designers don't like how the error messages look, that they take up too much space, but most users won't see the error messages, so I think it's a case where usability, or in this case, intelligibility, is more important than design.
You need to play off:
using the least possible words
using the simplest possible words
providing enough information for the user to be able to 'solve the problem'
I would go with 'Please enter name' because it indicates required action.
And I agree with puppybeard that you should use as much words as needed for user to understand the message correctly. I would also highlight the field with error and if possible set focus (cursor) to that field. It's a bit more work, but usually very helpful for the user.
Totally agree with Bart.
I always suggest to favor friendly message just like if it was a real human talking to you.
download bmml source – Wireframes created with Balsamiq Mockups