SkillAgentSearch skills...

ContainsAttributeExample

An example of using DataAnnotations and jquery.validate.unobtrusive.js from beginning to end in MVC3

Install / Use

/learn @jimschubert/ContainsAttributeExample
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

DataAnnotations example

This is a fairly simple example of creating a custom ValidationAttribute, registering that attribute with MVC 3 to be compiled into the HTML5 data-val-* attributes, and parsing those attributes on the client side to be validated with a custom function using the jquery.validate.unobtrusive plugin.

This example is code associated with my blog post here.

Related Skills

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated9y ago
Forks1

Languages

C#

Security Score

55/100

Audited on Dec 12, 2016

No findings