anchor.diff:              var preferenceList;
               // TODO: Alle möglichen Felder aktivieren
               wigm.$submitButton = $("input[type=\"submit\"]");
  -            var stringField = wigm.candidatePreferenceStringField({"onChange": function(preferenceString) {
  -                preferenceList.showPreference(preferenceString);
  -            }});
  +            var stringField = wigm.candidatePreferenceStringField({"onChange": function (preferenceString) {
  +                                                                            preferenceList.showPreference(preferenceString);
  +                                                                        },
  +                                                                      "onResetError": wigm.resetError,
  +                                                                      "onError": wigm.error});
               preferenceList = wigm.candidatePreferenceList({"listSelector": "#votesByElectionId0_htmlList",
  -                                             "onChange": stringField.showPreference,
  -                                             "onResetError": wigm.resetError,
  -                                             "onError": wigm.error});
  -        });
  +                                                              "onChange": stringField.showPreference,
  +                                                              "onResetError": wigm.resetError,
  +                                                              "onError": wigm.error});
  +            stringField.init();
  +            preferenceList.init();
  +        })
   
   
       </script>
  
positive.code:                 options.onResetError();
              };
  
              var showPreference = function(preferenceString) {
                  console.log(preferenceString);
  
                  for (var i = 0; i < preferenceString.length; i++) {
                      console.log(preferenceString[i]);
  
                      getFieldByCandidateIdx(charToCandidateIdx(preferenceString[i])).val(i + 1);
                  }
              };
  
  
negative.code:                 return String.fromCharCode(candidateIdx + 65);
              };
  
              var charToCandidateIdx = function (candidateChar) {
                  return candidateChar.toUpperCase().charCodeAt(0) - 65;
              };
  
              var getFieldByCandidateIdx = function (candidateIdx) {
                  return $elements.filter("[data-candidate-index=\"" + candidateIdx + "\"]");
              };
  
              $elements.each(function (idx, $element) {
                  $($element).on("keyup", handleChanges).removeAttr("disabled");
              });
  
              return {
                  "showPreference": showPreference,
                  "init" : handleChanges
              }
          };
  
  