On the form tag, add the following:
in the head section have:Code:onsubmit="check_passwords( this );"
I think thats it.Code:function check_password( vtarget ){ if( vtarget.password.value != vtarget.passwordcheck.value ) return false; else return true; }