Announcements
I wanted to do some simple data validation to a form text box. I found that there were automatically generated color changes and a text box to display errors if "Parent.Error" wasn't blank. Is there a way to manually have this fire? Or is this simply if you end up breaking powerapps somehow?
Hi @Yitzhak,
You may have interests using the Validate function:
Validate function in PowerApps
Quoted:
"
The Validate function checks whether the value of a single column or a complete record is valid for a data source.
Before a user submits a data change, you can provide immediate feedback on the validity of that submission, resulting in a better user experience.
Also adding the errors function:
Errors function in PowerApps
Provides error information for previous changes to a data source.
Regards,
Michael
@v-micsh-msft Thank you for the information, though im just wondering where would I put those functions? Would it be in the textbox?
You should add a button and then under the OnSelect property of the Button, use the function I mentioned in my previous post.
Button control in PowerApps
https://powerapps.microsoft.com/en-us/tutorials/control-button/
Would it kill you to make a simple example?
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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 345 Super User 2026 Season 2
Mohsin Ali 225
M Bilal Khan 192