Check that name and email of contact is valid before saving