Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Sharepoint form - Email validation field

I have customised a sharepoint list form for edit/new and one of the fields is the email. How can I perform email validation so that it is not saved when the email is not valid. For more info please refer to the screenshot below



Super User
Super User

You can try using the IsMatch function when validating the input before it is submitted.


IsMatch( "", Email )

Here is the documentation: IsMatch function in PowerApps

If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Thank you Jeff, I understand - where am I using the formula though ? I am using the standard sharepoint save button... 

Community Support
Community Support

Hi @iioannou,


Please follow below steps:


1. Suppose that DataCardValue12 is the name of the label control that stores the email. Set the OnSelect property of your save button to:


If(IsMatch( DataCardValue12.Text, Email )=true,SubmitForm(EditForm1),UpdateContext({Var:true}))

2. Insert a Label control, set to:

Label1.Text="*The email is not valid."
Label1.Color= RGBA(255, 0, 0, 1) Label1.Visible=Var

3. Set the OnSuccess property of the EditForm1 to:


I just tested and this works for me.







Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Mona,



I dont have a save button - I am using the default save button of sharepoint. What do I do in that case ?

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,115)