Passwords not matching status added

Signed-off-by: Eoghan Conlon <eoghanconlon73@skynet.ie>
This commit is contained in:
eoghanconlon73 2023-08-27 16:38:32 +01:00
parent 49684039aa
commit d8591575b1

View file

@ -32,7 +32,7 @@
if(pass === formData.get("confirm")){
alert("Passwords match");
} else {
alert("Passwords don't match");
document.getElementById('formStatus').innerHTML = "<span style='background-color: red; color: white'>Failure: Passwords don't match</span>";
}
}
</script>