I am adding new functionality to my website to allow a User to send a PM to multiple people at once.
One big “gotcha” that I am discovering is that this adds an enormous amount of complexity to my Error-Handling and UI.
When a User was only allowed to send a Message to one person, all I had to do was check one value, and if there was an issue, display a simple message.
But now that some fields could have multiple values, I’m not exactly sure what to do, and this comes down to…
“How much hand-holding should my Error Messages provide for multiple entries?”
Here is an example…
Let’s say that Usernames must be between 8-15 characters in length, and the Sender types in the following…
Send To:
DoubleDee; Stomme poes; Force Flow; BigBob; LilOne; Ralph; ILoveWeDesignSoMuch
For the Error-Message for that particular Form Field, how explicit must things be??
Option#1:
'BibBob' is [b]too short[/b] and must be between 8-15 characters in length.
'LilOne' is [b]too short[/b] and must be between 8-15 characters in length.
'Ralph' is [b]too short[/b] and must be between 8-15 characters in length.
'ILoveWeDesignSoMuch' is [b]too long[/b] and must be between 8-15 characters in length.
Option#2:
'BibBob' must be between 8-15 characters in length.
'LilOne' must be between 8-15 characters in length.
'Ralph' must be between 8-15 characters in length.
'ILoveWeDesignSoMuch' must be between 8-15 characters in length.
Option#3:
Usernames must be between 8-15 characters in length.
Option#4:
<< Some other Error-Message>>
I am usually all for making things explicit and easy to understand - especially for Error-Handling.
At the same time, you have to draw the line somewhere, and it seems reasonable to assume your End-Users are semi-intelligent and can figure things out with some basic clues versus having to write a novel explaining where they messed up?!
What do you think?! :-/
Sincerely,
Debbie