Error Messages on a web form
Posted on 2012-03-21
I need to place error messages on fields when they are left blank and they are required and must be numeric or alphabetic characters.
Where do I place an error message on say the Driver License Number left blank. I know I can place messages when I try to add the record on an event button "ADD New", but I want the message to appear if the user selects enter or tabs to the next field or when the field loses focus. Where do I do this. I tried to do it in the textChanged event of the field, but the message does not appear when I select enter or tab to the next field.