Changed the validation for some fields in the register front end.