Posted By

linusx on 04/05/10


Tagged

form ie validation kickapps


Versions (?)

KickApps - Change form validation to use JQuery. Fixes issues with IE


 / Published in: JavaScript
 

Fixes an issue if you have another login form on the page with a password field.

  1. if(Ka.Info.PAGE == "login/registerUser.jsp"){
  2. if (Ka && Ka.formValidation) {
  3. Ka.formValidation.rules['password-match-with'].test = function(val,propVal){return (val == $j('#' + propVal).val()); }
  4. }
  5. }

Report this snippet  

You need to login to post a comment.