The [Email] attribute in Asp.Net MVC4 does not allow white space on the client side, does anyone know how i can allow something like " myemail@email.com " to pass through the unobtrusive java script generated by the property decorators?
When it hits Http Post, i can trim() the model.Email before doing anything with it. I just need to get past client validation.
I'm guessing any valid email regex will work if i tack on \s* at the start and end of the pattern?
Thanks!