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 / Lable Error Message: M...
Power Apps
Answered

Lable Error Message: Mutiple condidtion and output

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi there,

I am new to Power Apps, I created a simple form with a few textinput field that I want to validate: I have a textinput that I have format to only accept numeric value, and it shows a error message (lable) when user enters a large number also at the moment when the user types in string/characters the textinput clears out. How could I have a error message that will let them know they can only add numberic value and also warns them when the input is large?

error.PNG

 

The formula I used in the label Visible property: If(Value(TextInput1.Text) >= 100,true,false)

Label Text: "Warning: you have entered a large value."

 

My goal is to show the above message when the value is greater or equal to 100 but still accept the value AND to help user understand that it must be a numeric value that is entered. But I am not sure how to approach the datatype condition to show "You have entered text value. Please enter a number."

 

Would I have to make 2 labels and have those two condition check separately? or is there a better way to approach this?

 

Thanks for any help, if this has a solution please link me to it.

Categories:
I have the same question (0)
  • Verified answer
    mdevaney Profile Picture
    29,991 Moderator on at

    @Anonymous 
    Hello there.  There is a way to force the user to input a number.  Try changing the Format property of your Text Input to this code

    Format.Number

     

    Now there will not be any need to check whether a number was entered.

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up." 

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 339 Most Valuable Professional

#2
11manish Profile Picture

11manish 180

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard