ignore email validations if input type is not "email"
2.3.5