We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


SUPPORTED FRAMEWORKS

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The ASP.NET MVC Form Validation is a library for validating HTML form input elements before submitting them to a server. It has 14 built-in validation rules such as required, email, URL, date, and more, along with support for writing custom validation logic and HTML5 data attribute validation.


Validate with data annotation validation attributes

The Form Validation library has the ability to parse ASP.NET data annotation validation attributes such as Range, Required, RegularExpression, and StringLength. This enables you to validate ASP.NET MVC form fields without any additional effort.

data annotation model class

Model class with data-annotation attributes.

data annotation model view

View-based model for data-annotation attributes.

Initializing Form Validation library with data annotation attributes

Initialize the JavaScript Form Validation library.


Validate using HTML5 data attributes

The HTML5 form element’s data attributes can be used to define validation rules and error messages for the Form Validation library. This facilitates clean and reusable HTML forms.

validate html5 data attributes using form validation


Validation error messages

The Form Validation library provides meaningful validation error messages when the expected validation rule isn’t followed by the input value. This validation plugin itself has options for customizing both the validation message’s placement and its content.

Customize error messages

Define and customize validation error messages for individual form elements, entire forms, or for an entire application. This enables you to set custom error messages instead of being limited to built-in validation error messages.

Custom error placement

Summarize error messages and place them in custom locations. This option is useful for taking a validation message from a default location and moving it to any custom location in the application.


Other frameworks

The ASP.NET MVC Form Validation control is also available in Blazor, JavaScript, Angular, React and Vue frameworks that are built from their own TypeScript libraries.


70+ ASP.NET MVC UI CONTROLS

Read independent,
authenticated reviews
on G2

Download Now Pricing

What do our customers say about us?

Double quotes

Syncfusion controls contain almost everything a developer could ask for, saving us time and money. All backed up by unmatched support. Syncfusion controls are a developer's dream come true.
Kevin Kerr

Kevin Kerr

Kirk-Rudy

Double quotes

I would highly recommend using Essential Studio and have found that the Syncfusion support team is one of the fastest I have worked with.
Georg Kukula

Georg Kukula

G&W Software Entwicklung GmbH

Transform your applications today by downloading our free evaluation version Download Free Trial

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Syncfusion Awards
Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon