Validation 1.3.0
May 12, 2008 - 2:47pm — Jörn Zaefferer
Download: jquery.validate_3.zip
Size: 234.57 KB
md5_file hash: 5b9c07b0bd58ad3081f2a2cbb892116e
First released: May 12, 2008 - 2:47pm
Size: 234.57 KB
md5_file hash: 5b9c07b0bd58ad3081f2a2cbb892116e
First released: May 12, 2008 - 2:47pm
- Fixed invalid-form event, now only triggered when form is invalid
- Added spanish (es), russian (ru), portuguese brazilian (ptbr), turkish (tr), and polish (pl) localization
- Added removeAttrs plugin to facilate adding and removing multiple attributes
- Added groups option to display a single message for multiple elements, via groups: { arbitraryGroupName: "fieldName1 fieldName2[, fieldNameN" }
- Enhanced rules() for adding and removing (static) rules: rules("add", "method1[, methodN]"/{method1:param[, method_n:param]}) and rules("remove"[, "method1[, method_n]")
- Enhanced rules-option, accepts space-seperated string-list of methods, eg. {birthdate: "required date"}
- Fixed checkbox group validation with inline rules: As long as the rules are specified on the first element, the group is now properly validated on click
- Fixed #2473, ignoring all rules with an explicit parameter of boolean-false, eg. required:false is the same as not specifying required at all (it was handled as required:true so far)
- Fixed #2424, with a modified patch from #2473: Methods returning a dependency-mismatch don't stop other rules from being evaluated anymore; still, success isn't applied for optional fields
- Fixed url and email validation to not use trimmed values
- Fixed creditcard validation to accept only digits and dashes ("asdf" is not a valid creditcard number)
- Allow both button and input elements for cancel buttons (via class="cancel")
- 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
- Rewrote custom selectors (:blank, :filled, :unchecked) with functions for compability with AIR