In MVC3 you could write something like this:
[Required(ErrorMessage="Please fill some field that I need")]
public string someFieldThatINeed;
But what about custom validation attributes? Will they transforms to client-side javascript code and validate as well as embedded validation attributes do? Or do I need to write my own javascript client code? Thanks!