Change Theme Settings
Change Theme Settings
Themes
 
Metropolis
Moderno
iOS
Material
Material Compact
Office 365
Mulberry
Show All Themes
v
...v

jQuery Client Validation

*
Must be under 10 characters
*
v
Cannot be earlier than today
*
Send
Clear


This demo illustrates how user input can be easily validated using the jQuery Validation library. DevExpress MVC extensions provide you with full jQuery Client Validation support.

In this demo, the jQuery Validation methods are used to specify validation rules for individual model fields on the client. You can find a full list of the validation methods on the jQuery Documentation page: Plugins/Validation - jQuery Wiki - List of built-in Validation methods.

The rules:{...} block contains field names with validation atributes.

The messages:{...} block contains field names with related error messages that should be displayed to the end-users when the validation fails.

The DevExpress MVC ValidationSummary extension is used to summarize validation errors from multiple editors and then display them in a single block.


See Also: