| Lines 1226-1231
          $(document).ready(function() {
      
      
        Link Here | 
        
          | 1226 |             [% q_add_f = Koha.Preference('PatronQuickAddFields').split('\|') %] | 1226 |             [% q_add_f = Koha.Preference('PatronQuickAddFields').split('\|') %] | 
        
          | 1227 |             var qaddfields = [[% FOREACH field IN q_add_f.unique %]"[% field %]",[% END %]]; | 1227 |             var qaddfields = [[% FOREACH field IN q_add_f.unique %]"[% field %]",[% END %]]; | 
        
          | 1228 |             var skipped_fields = ["contactname","contactfirstname","relationship"]; //Guarantor form is pulled as a whole, ignore individual fields | 1228 |             var skipped_fields = ["contactname","contactfirstname","relationship"]; //Guarantor form is pulled as a whole, ignore individual fields | 
            
              |  |  | 1229 |             var passwd_mandatory = [% IF mandatorypassword %]0[% ELSE %]1[% END %]; | 
        
          | 1229 |             $("#entryform label").each(function () { | 1230 |             $("#entryform label").each(function () { | 
        
          | 1230 |                 var input_label = $(this).attr('for'); | 1231 |                 var input_label = $(this).attr('for'); | 
        
          | 1231 |                 if ( input_label == 'sex-female' ) { | 1232 |                 if ( input_label == 'sex-female' ) { | 
  
    | Lines 1237-1243
          $(document).ready(function() {
      
      
        Link Here | 
        
          | 1237 |                 if ( skipped_fields.indexOf( input_label ) != -1 ) { input_label=""; } | 1238 |                 if ( skipped_fields.indexOf( input_label ) != -1 ) { input_label=""; } | 
        
          | 1238 |                 if( qaddfields.indexOf( input_label ) != -1 || $(this).attr('class') == 'required' ){ | 1239 |                 if( qaddfields.indexOf( input_label ) != -1 || $(this).attr('class') == 'required' ){ | 
        
          | 1239 |                    $(this).parent().clone().appendTo("#quick_add_list"); | 1240 |                    $(this).parent().clone().appendTo("#quick_add_list"); | 
          
            
              | 1240 |                    if( input_label == 'password') $("#entryform label[for='password2']").parent().clone().appendTo("#quick_add_list"); | 1241 |                    if( input_label == 'password' && passwd_mandatory ) $("#entryform label[for='password2']").parent().clone().appendTo("#quick_add_list"); | 
        
          | 1241 |                 } | 1242 |                 } | 
        
          | 1242 |             }); | 1243 |             }); | 
        
          | 1243 |                 if( $("#memberentry_guarantor").length ) { | 1244 |                 if( $("#memberentry_guarantor").length ) { | 
            
              | 1244 | -  |  |  |