Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/leocaseiro/admin-validation-plus
- Owner: leocaseiro
- Created: 2011-09-23T19:55:35.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2016-03-08T01:03:22.000Z (almost 9 years ago)
- Last Synced: 2024-10-12T08:12:45.901Z (2 months ago)
- Language: PHP
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
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."
}
},