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:                 });
  
                  var resultString = preferenceArray.join("");
                  console.log(resultString);
                  options.onChange(resultString);
              };
  
              var error = function($element) {
                  $element.addClass("error");
                  options.onError($element);
              };
  
negative.code:                 $element.val(preferenceString);
              };
  
              var handleChanges = function () {
                  var val = $element.val();
                  resetError();
                  // TODO: Check for validity: [a-zA-Z]*
                  try {
                      options.onChange(val);
                  } catch (err) {
                      error()
                  }
              };
  
              var resetError = function () {
                  $element.removeClass("error");
                  options.onResetError();
              };
  
              var error = function () {
                  $element.addClass("error");
                  options.onError();
              };
  
              $element.on("keyup", handleChanges);
              //handleChanges();
              return {
                  "showPreference": showPreference,
                  "init" : handleChanges
              };
          };
  
          wigm.error = function ($element) {
              wigm.$submitButton.attr("disabled", "disabled");
          };
  
          wigm.resetError = function () {
              wigm.$submitButton.removeAttr("disabled");
          };
  
  