Registrieren leitet jetzt weiter.
parent
426b821b86
commit
ffb028d4c6
|
@ -30,9 +30,9 @@ document.getElementById("passwortRep")
|
|||
document.getElementById("registrierenKnopf")
|
||||
.addEventListener("click", checkForPossibleSubmit);
|
||||
|
||||
// EventListener für das Formular hinzufügen.
|
||||
/* // EventListener für das Formular hinzufügen.
|
||||
document.getElementById("registrierungForm")
|
||||
.addEventListener("submit", checkForPossibleSubmit);
|
||||
.addEventListener("submit", checkForPossibleSubmit); */
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
@ -542,7 +542,7 @@ function checkEmailAddress() {
|
|||
return false;
|
||||
}
|
||||
else {
|
||||
removeErrorMessage(emailAddress);
|
||||
removeErrorMessage(emailAddress, 0);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -588,6 +588,7 @@ function checkPassword() {
|
|||
else if (!(/.{6,}/.test(password))) {
|
||||
showErrorMessage(password, 0,
|
||||
"Ihr Passwort muss eine Länge von mindestens sechs Zeichen haben.");
|
||||
return false;
|
||||
}
|
||||
else if (!(regex_password.test(password.value))) {
|
||||
showErrorMessage(password, 0,
|
||||
|
|
Loading…
Reference in New Issue