client-side validation

fixed validation on registerForm