web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / valid email address in...
Power Apps
Answered

valid email address in textinput

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

Categories:
I have the same question (0)
  • Verified answer
    LRVinNC Profile Picture
    2,297 on at

    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)))

  • Vhutali Profile Picture
    Microsoft Employee on at

    Hi @LRVinNC

     

    thanks for assisting  

     

    on what property of the textinput should I put that formula?

  • LRVinNC Profile Picture
    2,297 on at

    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.

  • alrezac Profile Picture
    Microsoft Employee on at

    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 Rezac
    If 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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard