21302 Posts in 5736 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 143 Views |
-
Custom error message for ConfirmedPasswordField

21 September 2012 at 10:05am
Hi there,
I am using ConfirmedPasswordField to make sure that users enter their passwords correctly. If have also implemented
Aram Balakjian's tutorial on how to add extra validation to the field ( http://www.ssbits.com/snippets/2010/using-a-password-validator/ )
The problem that i get now is that when the user types in a password that is too short, he gets the following error (see atached as well) instead of a jquery/javascript error or even a nice .ss template page that explains what is going on:
"[User Error] Uncaught ValidationException: Validation error writing a Member object: Password is too short, it must be 7 or more characters long.; You need to increase the strength of your passwords by adding some of the following characters: uppercase, digits, punctuation. Object not written."
How can i get the system to display a more user friendly error
Thanks
| 143 Views | ||
|
Page:
1
|
Go to Top |

