THEMES
THEME SETTINGS

Data Editors - Common Features 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:
Version: v2017 vol 1.3
Copyright © 2006-2017 Developer Express Inc
Your Next Great MVC App Starts Here

Get started today and download your 30-day trial of DevExpress MVC Extensions (includes 30 days of free technical support).

All demos ship with full source code and are included in the DevExpress MVC distribution. Refer to the Demos and Sample Applications topic to learn more.

DevExpress MVC Extensions ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions and are backed by a 60 day unconditional money-back guarantee.
To learn more and obtain pricing information, visit the Compare Features and Pricing webpage. For immediate assistance, contact us by Email at info@devexpress.com or by phone at +1 (818) 844-3383 between 7:30am and 4:30pm Pacific Time.