How can my form validate entered information for email and phone number?