// Check if the input in the "Candidate Email" field resembles a valid email address.
If(
!IsMatch(DataCardValue11.Text, Match.Email),
// If the input is not in a valid email format, show an error message to the user.
Notify("Invalid email address. Please enter a valid email.", NotificationType.Error),
// If the email is valid, proceed to submit the form.
SubmitForm(Form2)
)