I have a login form with just two fields for username and password. There are length and regex validators attached to both, but what I would like to do is return a single generic "login failed" message if any of the validators fail. How might I go about accomplishing that?

Also, I've noticed that if my regex validator fails a blank page is returned. No failure message, no form, nothing. It makes wonder if regex validators don't have default error messages attached to them?

Reply via email to