Corrected form validation for dob field in accounts

not required, but must be a valid date