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 / Validate text input Help
Power Apps
Answered

Validate text input Help

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I have a colum that is text based. The user can type anything they want but i only want them to be able to type three words.

 

Three words = Received , In progress, and Open.

 

How do a validate that text input box.  Please explain as if im a child. Im not to sure where i would enter in the rule and such.

 

Thank you

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Do you want to limit the text typed within the TextInput control?

     

    I have made a test on my side, please take a try with the following workaround:2.JPG

     

    Set the OnChange property of the TextInput control to following formula:

    If(
    TextInput1.Text="Received"||TextInput1.Text="In process"||TextInput1.Text="Open",
    "",
    Notify("Your input text is invalid, please type 'Received','In process','Open'",NotificationType.Error);Reset(TextInput1)
    )

    Note: When the mouse focus is removed from the TextInput control, the text within the TextInput control would be validated. The TextInput1 reporesents the TextInput control within my app.

     

    3.JPG

     

     

     

    More details about the Notify function in PowerApps, please check the following formula:

    Notify function

     

    Please check and see if the following article would help you understand Nofity function in PowerApps, please check the following blog:

    https://powerapps.microsoft.com/en-us/blog/showerror-function-is-changing-its-name-to-notify-as-it-learns-some-new-tricks/

     

    Best regards,

    Kris

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you so much. This worked

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard