add the form validation check for contact