Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 03, 2012 09:43 PM by CodeHobo
May 03, 2012 08:36 PM|LINK
I am new to MVC. What kind of required field validators do we have in MVC? for input boxes dropdowns?
May 03, 2012 09:43 PM|LINK
The typical way to validate fields in asp.net mvc is using Data Annonation validation attributes. There are several built in validators you can use, and you can write your own custom validators.
Here is a list of built in validators (taken from the post below):
Take a look at this aritcle on validation
Here's a post on building a custom validator:
Also take a look at this