Skip to content

Commit 3ded91c

Browse files
committed
Version 1.5.2
- Fixes #10 Issue with NOTEMPTY rule matching white spaces - Added NAME rule - Removed validation on [readonly] input fields
1 parent 1c0e9de commit 3ded91c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

html5-form-validation.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"validation",
1010
"input"
1111
],
12-
"version": "1.5.1",
12+
"version": "1.5.2",
1313
"author": {
1414
"name": "Tom Bertrand",
1515
"url": "http://www.runningcoder.org/jqueryvalidation/"

jquery.validation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Licensed under the MIT license
55
*
66
* @author Tom Bertrand
7-
* @version 1.5.1 (2015-02-16)
7+
* @version 1.5.2 (2015-02-18)
88
* @link http://www.runningcoder.org/jqueryvalidation/
99
*
1010
* @note
@@ -41,7 +41,7 @@
4141
INTEGER: /^\d+$/,
4242
NUMERIC: /^\d+(?:[,\s]\d{3})*(?:\.\d+)?$/,
4343
MIXED: /^[\w\s-]+$/,
44-
NAME: /^['a-z\s-]+$/i,
44+
NAME: /^['a-zãàáäâèéëêìíïîõòóöôùúüûñç\s-]+$/i,
4545
NOSPACE: /^(?!\s)\S*$/,
4646
TRIM: /^[^\s].*[^\s]$/,
4747
DATE: /^\d{4}-\d{2}-\d{2}(\s\d{2}:\d{2}(:\d{2})?)?$/,

0 commit comments

Comments
 (0)