diff --git a/website/index.php b/website/index.php index 1a0c8e3..b808caf 100644 --- a/website/index.php +++ b/website/index.php @@ -10,8 +10,8 @@ MyHyvesbook+ -
-

Welkom bij MyHyvesbook+

+ +

Welkom

× - +

Registreer je account

@@ -70,9 +70,9 @@
- + title="Herhaal wachtwoord" required>
@@ -89,7 +89,16 @@
- + +
+ +
+ + +
+
@@ -115,13 +124,22 @@ window.onclick = function(event) { function passwordfunction() { var password1 = document.getElementById("password").value; var password2 = document.getElementById("confirmpassword").value; + var email1 = document.getElementById("email").value; + var email2 = document.getElementById("confirmemail").value; var matching = true; + if (password1 != password2) { document.getElementById("password").style.borderColor = "red";; document.getElementById("confirmpassword").style.borderColor = "red";; ok = false; confirmpassword.setCustomValidity("Wachwoord match niet") } + if (email != email2){ + document.getElementById("email").style.borderColor = "red";; + document.getElementById("confirmemail").style.borderColor = "red";; + ok = false; + confirmemail.setCustomValidity("Email match niet") + } return matching; }