Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leocaseiro/admin-validation-plus

Alpha Version In Development // A simple WordPress Plugin to use jQuery Validate, jQuery Masket Input in Default fields or Custom Fields on Admin WordPress when create a post, a custom post or a page
https://github.com/leocaseiro/admin-validation-plus

Last synced: about 1 month ago
JSON representation

Alpha Version In Development // A simple WordPress Plugin to use jQuery Validate, jQuery Masket Input in Default fields or Custom Fields on Admin WordPress when create a post, a custom post or a page

Awesome Lists containing this project

README

        

#Version Alpha in Development

Use [jQuery Validate Plugin](http://bassistance.de/jquery-plugins/jquery-plugin-validation) and/or [jQuery Masket Input Plugin](http://digitalbush.com/projects/masked-input-plugin) in Defaults fields or Custom Fields on Admin WordPress when create a post, a custom post or a page

#Alpha Version Samples, use in Settings Page (wp_options)
//In Masket Samples
{
"selector": "#title",
"value": "99/99/9999"
},
{
"selector": "#new-tag-post_tag",
"value": "99999-999"
},

//In jQuery Validate Samples
rules: {
post_title: {
required: true,
minlength: 2
},
content: {
required: true,
minlength: 5
}
},
messages: {
post_title: {
required: "The Title is Required",
minlength: "Please enter at least {0} characters on Title."
},
content: {
required: "The Content is Required",
minlength: "Please enter at least {0} characters on Content."
}
},