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 / Error handler labellin...
Power Apps
Answered

Error handler labelling guidance?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Community,

 

I have built an app with some On Failure messaging to notify the user if any mandatory fields have not been submitted to SharePoint.

Run operation is functional, but there are two issues I would appreciate further assistance...

 

1. Labelling.

PowerApp takes the labelling of the SP columns and removes all spaces:

 

SP view:

mc00515_1-1685435524122.png

App view of one of the controls:

 

mc00515_0-1685435482597.png

 

Is there a more user friendly way to get the Field error message to display 'Quality of Education Strengths' with spaces?

 

2. Error handling is not completely fool proof.

 

If the user adds text into the above control, the red boundary correctly disappears and the user can submit.

mc00515_2-1685435954164.png

The submission correctly updates the SP column.

mc00515_3-1685436051186.png

The On Success form appears and the user can navigate back to the App interface.

If the text is removed from the control however, the red boundary line and error message does not re-appear  and the app allows the user to submit again with an On Success...

 

Only when the the text is removed a second time does the On Failure screen appear, and the App control red line again. 

 

mc00515_4-1685436448815.png

The On Failure Error message lags real time by one action. How do I synchronise these?

 

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    cha_cha Profile Picture
    4,932 Moderator on at

    Hello @Anonymous  , 

     

    For the first question, please follow below:

    1. Make sure you have Unlock the Data Card so we can make changes to the control within it. Click the ... then select Unlock:

    cha_cha_1-1685445482406.png

     

    2. Look for ErrorMessage in the data card.

    cha_cha_0-1685445622977.png

    3. Delete the Parent.Error in the Text Property

    cha_cha_1-1685445676090.png

     

    4. Replace the Text property value  with whatever Error Message you desire: 

    cha_cha_2-1685445850717.png

     

    5. Then navigate to the Visible Property of the Error Message:

    cha_cha_3-1685445916132.png

     

     

    As for your second question:

    Try either of these:

     

    On your Forms' On Success add the code NewForm(Self) or ResetForm(Self) and see which one works for you.

    cha_cha_4-1685446035963.png

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @cha_cha ,

     

    Thanks you so much for this.

     

    While I was waiting for a response from the community, I discovered that part of my problem was I had repurposed and relabelled some obsolete SharePoint columns. This had contributed to the errors I was experiencing. I ended up deleting all of the repurposed SP columns and recreating them with new labels. This rectified both issues.

     

    That said, your contribution is super helpful as it explains how to workaround what I did without having to delete and recreate columns. I will set yours and mine as solutions. Thank you for the screenshots, they were most helpful.

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 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard