Bug Tracker

Show
Ignore:
Timestamp:
12/11/07 15:13:47 (1 year ago)
Author:
joern.zaefferer
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/validate/todo

    r4098 r4105  
    6868- is that element == lastElement check in the onblur handler really useful? 
    6969 
    70 - ajax: captcha validation ( http://psyrens.com/captcha/ ) 
    71 - allow to ignore a default value for onblur-validation 
    7270- performance tuning: add about 100 fields to custom-method-demo and profile IE 
    7371- oninvalid/invalidSubmitHandler: called after a form is validated on submit and its invalid 
     
    7876    - validate zip code in comparison to address, if match and state is missing, fill out state 
    7977- strong password check/integration: http://phiras.wordpress.com/2007/04/08/password-strength-meter-a-jquery-plugin/ 
    80 - add/modify onkeyup option: true - immediate, false - none 
     78- add/modify onkeyup option: true - immediate, false - none, default - filtered 
    8179 
    8280- validate on paste: 
     
    9290 this.addEventListener('input',checkVal,false); 
    9391 
    94 - docs: update options, fix rules/messages 
    9592- custom-methods-demo.html enable summary container, currently broken, is updated too often 
    9693- stop firefox password manager to popup before validation - very very difficult 
     
    107104 Examples: 
    108105 - wordpress comment form, make it a drop-in method 
    109  - masked input plugin integration http://digitalbush.com/projects/masked-input-plugin -> marketo 
     106 - ajax: captcha validation ( http://psyrens.com/captcha/ ) 
    110107 - ajaxForm() integration 
    111108 - ajaxSubmit with rules-option, more/less options to ajaxSubmit 
    112109 - watermark integration http://digitalbush.com/projects/watermark-input-plugin 
    113  - custom password validation, eg. 6 chars min, and at least 1 number and at least 1 alpha or Must not use 123, abc, asdf or your username or your domain in the password, see addMethod2 test 
    114110 - datepicker integration (see dobis) 
    115111 - timepicker integration ( http://labs.perifer.se/timedatepicker/ )  
    116  - milk example 
    117  - one example for each option 
     112 - integration with CakePHP ( https://trac.cakephp.org/ticket/2359 ) 
     113 - integration with tabs: http://www.netix.sk/forms/test.html  
    118114 - intergration with rich-text-editors (FCKEditor, TinyMCE, Codepress) 
    119  - integration with CakePHP ( https://trac.cakephp.org/ticket/2359 ) 
    120  - integration with tabs: http://www.netix.sk/forms/test.html 
    121   
    122115 -> In simple terms, you need to "move" the content from the TinyMCE 
    123116control to the textarea for validation. 
     
    129122  
    130123http://www.fyneworks.com/jquery/FCKEditor/ 
    131  
    132 Examples for specifying validation rules via special classes: 
    133  
    134 var classRules = { 
    135     required: "required", 
    136     requiredChecked: { 
    137         required: "#checked:checked" 
    138     }, 
    139     requiredMail: { 
    140         required: true, 
    141         email: true 
    142     } 
    143 }; 
    144  
    145 var rules = {}; 
    146 $(':input').each(function() { 
    147     var input = this; 
    148     if ( $(input).attr("class") ) { 
    149         $.each($(input).attr("class").split(" "), function(i, n) { 
    150             if ( n in classRules ) { 
    151                 rules[ input.name] = classRules[n]; 
    152             } 
    153         }); 
    154     } 
    155 }); 
    156  
    157  
    158 $("form").validate({ 
    159     rules: rules 
    160 });