Announcements
how do I make sure the textinput field accepts only the valid email address? in a case where the a user needs to submit their details in order to be contacted there after
Use the IsMatch function to verify the format matches the pattern for an email address. https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-ismatch
Here I set a flag to indicate I have a properly formatted email.Set(ValidEmail, If(IsMatch(TextInput1.Text, Email ), true, false)))
Hi @LRVinNC
thanks for assisting
on what property of the textinput should I put that formula?
It depends on when you want your validation to occur. If you want immediate feedback to the user at the point they enter the value, then you can put it in the On Change action of the TextInput control.
If you want to do all your validation at once when the user submits their entries, you can make it part of the On Select for a Submit (or other processing) button.
Hi,
It looks like LRV was able to answer your questions on how to add this functionality to PowerApps. I just wanted to add in a bit more information for learning here. Feel free to take a look.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-ismatch
Regards,
Alex
-------
Community Support Team _ Alex RezacIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 536
WarrenBelz 426 Most Valuable Professional
Haque 305