Email validation in Canvas Apps

Basic format of Email is ******@***.***

Below are the steps to validate Email ID that users will enter

  • Add one TextInput and two Labels
  • Select OnChange property of Text Input and enter the formula as shown in below image. We use IsMatch() function to validate the Email entered: IsMatch(emailID, Email). This function will return true if the entered text is a valid Email ID otherwise false.
  • Make the Border of Text Input Red if entered email is invalid.
  • Display an error message if the Email format is not correct. Add the emailError variable on Text property of Error Label
  • This is how it will finally work

You can modify the message the way you want.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s