Passwords not matching status added
Signed-off-by: Eoghan Conlon <eoghanconlon73@skynet.ie>
This commit is contained in:
parent
49684039aa
commit
d8591575b1
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
||||||
if(pass === formData.get("confirm")){
|
if(pass === formData.get("confirm")){
|
||||||
alert("Passwords match");
|
alert("Passwords match");
|
||||||
} else {
|
} else {
|
||||||
alert("Passwords don't match");
|
document.getElementById('formStatus').innerHTML = "<span style='background-color: red; color: white'>Failure: Passwords don't match</span>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue