I have the following property on my viewmodel:
[Required(ErrorMessage = "Email is required")]
[RegularExpression(RegularExpressions.Email, ErrorMessage = "Email is not valid")]
[DataType(DataType.EmailAddress)]
public string Email { get; set; }
In MVC4, because of the DataType annotation, this is rendered as <input type="email"...
which is great for devices that change the keyboard to include @ such as the ipad. Unfortunately, jquery.validate seems to automatically validate the field using its own regex so if a user enters an incorrect email, the jquery validate error message is shown and not the one I defined in the attribute.
What is the best way to stop jquery.validate doing this automatic validation so that my regex is used instead?