Added form validation for contact form.