View | Details | Raw Unified | Return to bug 17855
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt (-16 lines)
Lines 49-65 jQuery.validator.addMethod( "letters_only", function(value,element){ Link Here
49
);
49
);
50
50
51
51
52
jQuery.validator.addMethod( "cardnumber_check", function(value,element){
53
          var patt =/[A-Za-z0-9]{1,16}$/g;
54
          if (patt.test(element.value)){
55
              return true;
56
          } else {
57
              return false;
58
          }
59
     }, MSG_CARDNUMBER_LETTERS_NUMBERS_ONLY
60
);
61
62
63
52
64
53
65
$(document).ready(function(){
54
$(document).ready(function(){
Lines 77-83 $(document).ready(function(){ Link Here
77
            },
66
            },
78
            cardnumber: {
67
            cardnumber: {
79
                required: true,
68
                required: true,
80
                cardnumber_check: true
81
            },
69
            },
82
           password: {
70
           password: {
83
                 password_match:true
71
                 password_match:true
Lines 90-98 $(document).ready(function(){ Link Here
90
            firstname: {
78
            firstname: {
91
                required: MSG_DESCRIPTION_LETTERS_ONLY
79
                required: MSG_DESCRIPTION_LETTERS_ONLY
92
            },
80
            },
93
            cardnumber: {
94
                required: MSG_CARDNUMBER_LETTERS_NUMBERS_ONLY
95
            },
96
            password: {
81
            password: {
97
                 required: MSG_PASSWORD_MISMATCH
82
                 required: MSG_PASSWORD_MISMATCH
98
            },
83
            },
99
- 

Return to bug 17855