Notifications
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268