Closed jummy0 closed 9 years ago
if(document.registration.confirm-password.value.length==0){ alert("Passwords do not match!"); return false; }
This block doesn't actually check that the fields are identical; it checks that confirm-password contains ≥1 character.
confirm-password
This issue should now be fixed, I just set the files to try to equal each other, if they don't it returns false. Thus Echoing "Passwords do not match"
This block doesn't actually check that the fields are identical; it checks that
confirm-password
contains ≥1 character.