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 / Make parent throw error
Power Apps
Answered

Make parent throw error

(0) ShareShare
ReportReport
Posted on by 10

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?

Categories:
  • Verified answer
    v-micsh-msft Profile Picture
    Microsoft Employee on at

    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

  • Yitzhak Profile Picture
    10 on at

    @v-micsh-msft Thank you for the information, though im just wondering where would I put those functions? Would it be in the textbox?

  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @Yitzhak,

     

    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/

     

    Regards,

    Michael

  • abc 123 Profile Picture
    789 Moderator on at

    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.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 225

#3
M Bilal Khan Profile Picture

M Bilal Khan 192

Last 30 days Overall leaderboard