Validating Date with MVC Foolproof Validation on the client side

added by leniel
7/2/2012 10:31:09 AM

4 Kicks, 732 Views

This is a quick tip for something that I just tried with an ASP.NET MVC app and that worked as expected. You'll also find a little bit of amazement with jQuery UI datepicker. I use MVC Foolproof Validation to complement the standard validators that come with ASP.NET MVC in the System.ComponentModel.DataAnnotations assembly. Foolproof has some awesome validators. Read on...


3 comments

dpeterson
7/2/2012 10:28:36 AM
While the jQuery datepicker will improve the experience for your users, you must remember the golden rule: never trust input. The validation routines should stay in place, the jQuery datepicker will just improve the experience for users.

leniel
7/2/2012 10:46:52 AM
For sure... thanks for the comment! :)

leniel
7/2/2012 10:46:11 AM