tags:

views:

101

answers:

3

I have created a VB.Net lending application for a cooperative that caters to widows. The application tracks the members' loans and payments, and is also used as an accounting system. In my first release, the users felt that showing a messagebox every time an error occurs is very annoying. My solution is to output errors in a label control. The users accepted the modification, but i feel i am doing it wrong.

+1  A: 

They were probably annoyed with a modal dialog that interrupted their input flow. Imagine if Word interrupted you every time you typed a word it couldn't find in the dictionary, instead of just underlining it in red and letting you fix your typos later. You'd type pretty slow.

I recommend you just highlight input errors and let them come back and fix them when they're done. If they try to submit the form (or whatever the analogue would be), then show the dialog and don't let them submit until they fix or acknowledge the fields flagged with errors.

Bill the Lizard
A: 

Start with someone else's validator control, like this one:

http://www.codeproject.com/KB/validation/validationprovider.aspx

and then modify it if necessary. This one works as the Lizard suggests, with a non-annoying flagging of the offending fields.

MusiGenesis
A: 
  • Can you highlight the fields containing errors and display the error message as mouseover or hover text?

  • If it's appropriate, you might have a bright red "Show Errors" button somewhere, which would display that nasty pop-up with a list of all of the errors.

Unsolicited advice: Error messages are more helpful if they tell the user how to fix the error, rather than what went wrong.

Good luck!

Adam Liss