Bug Tracker

Show
Ignore:
Timestamp:
04/13/08 16:27:16 (9 months ago)
Author:
joern.zaefferer
Message:

validation plugin: accept rules: { field: "method1 method2" } notation, useful in combination with rules("add", "method1 method2") and rules("remove", "method1 method2")

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/validate/changelog.txt

    r5247 r5251  
    55* Added removeAttrs plugin to facilate adding and removing multiple attributes 
    66* Added groups option to display a single message for multiple elements, via groups: { arbitraryGroupName: "fieldName1 fieldName2[, fieldNameN" } 
    7 * Enhanced rules() for adding and removing (static) rules: rules("add", "method"/{method1:param[, method_n:param]}) and rules("remove"[, "method1[, method_n]")  
     7* Enhanced rules() for adding and removing (static) rules: rules("add", "method1[, methodN]"/{method1:param[, method_n:param]}) and rules("remove"[, "method1[, method_n]")  
     8* Enhanced rules-option, accepts space-seperated string-list of methods, eg. {birthdate: "required date"}   
    89* 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 
    910* 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)