Code:
function verifypass() { if(document.regform.userpass.value != document.regform.userpass2.value) { return FALSE; } elseif(document.regform.userpass.value == '') { return FALSE; } elseif(document.regform.username.value == '') { return FALSE; } elseif(document.regform.usermail.value == '') { return FALSE; } else { return TRUE; } } (...) <form ... onSubmit="return verifypass();" ...>
Kommentar