Changeset 5563
- Timestamp:
- 05/12/08 11:14:14 (7 months ago)
- Location:
- trunk/plugins/validate
- Files:
-
- 3 modified
-
changelog.txt (modified) (2 diffs)
-
jquery.validate.js (modified) (1 diff)
-
todo (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/validate/changelog.txt
r5561 r5563 1 1. 2.2 / 1.31 1.3 2 2 --- 3 3 * Fixed invalid-form event, now only triggered when form is invalid … … 14 14 * Allow both button and input elements for cancel buttons (via class="cancel") 15 15 * Fixed #2215: Fixed message display to call unhighlight as part of showing and hiding messages, no more visual side-effects while checking an element and extracted validator.checkForm to validate a form without UI sideeffects 16 * Rewrote custom selectors (:blank, :filled, :unchecked) with functions for compability with AIR 16 17 17 18 1.2.1 -
trunk/plugins/validate/jquery.validate.js
r5561 r5563 150 150 jQuery.extend(jQuery.expr[":"], { 151 151 // http://docs.jquery.com/Plugins/Validation/blank 152 blank: "!jQuery.trim(a.value)",152 blank: function(a) {return !jQuery.trim(a.value);}, 153 153 // http://docs.jquery.com/Plugins/Validation/filled 154 filled: "!!jQuery.trim(a.value)",154 filled: function(a) {return !!jQuery.trim(a.value);}, 155 155 // http://docs.jquery.com/Plugins/Validation/unchecked 156 unchecked: "!a.checked"156 unchecked: function(a) {return !a.checked;} 157 157 }); 158 158 159 159 160 jQuery.format = function(source, params) { -
trunk/plugins/validate/todo
r5247 r5563 2 2 --- 3 3 4 re-write custom selectors as functions 4 - checkout datejs.com for a proper date implementation -> complete but very heavy parser, currently overkill 5 5 6 - figure out how to deal with array like structures7 - http://www.janepatrick.co.uk/admin/test/associative.php8 - http://www.janepatrick.co.uk/admin/test/associative-select.php9 - checkout datejs.com for a proper date implementation10 6 - provide method to validate form/field without UI side-effects 11 7 jQuery.fn.validForm = function() {
