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 / How to Create a Notifi...
Power Apps
Answered

How to Create a Notification Banner that includes all "required field missing" errors

(0) ShareShare
ReportReport
Posted on by 244

The lack of a pop-up notification to tell the user that they're missing data is confusing and inefficient. There's no message except in the error box under the specific field. The form just does nothing and the user has to go search through it to find any issues. How can I create a pop-up notification banner that includes the names of any required fields missing values?

Categories:
I have the same question (0)
  • Verified answer
    madlad Profile Picture
    2,637 Moderator on at

    To display a general error, in the forms OnFailure property, you can use 

     

    Notify(Self.Error, NotificationType.Error)

     

     

    To get the specifics, I believe you'll need something like:

     

    Notify(
     Concatenate(
     If(
     !*DataCard1*.Valid, 
     "DataField1 is invalid", 
     ""
     ),
     If(
     !*DataCard2*.Valid, 
     "DataField2 is invalid", 
     ""
     ),
     ect.
     )
    )

     

    Used for each datacard you want to check - it's a bit long, and I'm not 100% sure there's not an easier way, but it will work for sure. Also, for readability you'll want some text seperator in between each one of these concatenate items

     

    Hope this helps!

  • CCJones Profile Picture
    244 on at

    Ugh. I was afraid it might be something like this. Will have to see if the customer can accept a single banner notifying of at least one issue. Is there a way to do a count on how many items have an error and include that number in the notification saying something like "# fields are invalid. Please review." ?

  • madlad Profile Picture
    2,637 Moderator on at

    You could, but I believe it would also most likely involve having to check each fields validity.

    I suspect it'll be pretty much my last formula, except getting the count of 'true' items instead of concatenating. 

     

    You can slightly modify and create custom errors using error handling:

    https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-iferror 

    https://powerusers.microsoft.com/t5/Error-Handling/New-property-App-OnError-on-version-3-21112/td-p/1350886 

     

    but I don't know of anything as detailed as you describe unfortunately.

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 490

#2
WarrenBelz Profile Picture

WarrenBelz 427 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 381

Last 30 days Overall leaderboard