In a previous post, we built a model-aware validator using Foolproof for ASP.NET MVC. Now, it’s time to create the client side version because posting back sucks.
Using Foolproof’s ModelAwareValidationAttribute class, you can create custom model-aware data annotations to solve any complex validation scenario.
“MVC Foolproof Validation” is my first open source project to help bridge the gap in ASP.NET MVC Data Annotations when dealing with contingent or dependent scenarios.
MVC 3 gives us the ability to create model-aware validation attributes. What does this mean for Foolproof Validation?