How do I change the default message on the validation summary when a password does not meet the requirements. The current message the appears is
"Passwords must have at least one digit ('0'-'9'). Passwords must have at least one uppercase ('A'-'Z')."
I want to change that text to something else.
You can also use DataAnnotations
In your example, you can use :
Interesting point is the
ErrorMessagemay be placed in aResourcesfiles, so you can display it in multiple languages.Plus, you do not have to write a custom
AddErrormethod anymore.