srkirkland / DataAnnotationsExtensions

Validation extensions for DataAnnotations, including optional MVC client validation implementations
https://dataannotationsextensions.apphb.com/
BSD 3-Clause "New" or "Revised" License
308 stars 86 forks source link

Invalid Email address always returns "This [Field] field is not a valid e-mail address." #67

Closed matthewfitzmaurice closed 9 years ago

matthewfitzmaurice commented 9 years ago

Hi Great functionality - thanks!

I was hoping to set a custom email error message like: [Email(ErrorMessage = "Invalid email address. eg. john@sample.com")]

Cheers Matt

matthewfitzmaurice commented 9 years ago

Sorry. My mistake. It's working really well..