This is my formula for "Submit" button.
If(Form_2.Valid&&IsMatch(DataCardValue108.Text, Email)=true,SubmitForm(Form_2);UpdateContext({ShowRequired:"N"});ResetForm(Form_2),UpdateContext({ShowRequired:"Y"}));
I have a form with some fields which are conditionally required (Ex: Department Drop down selected is "IT", make filling out "Development Effort" required field) and an email address field so that is the reason why I am checking In Form_2.Valid.
I am trying to combine my email validation(DataCardValue108 field) as well. But I am getting an error saying IsMatch has some invalid arguments.