Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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?

  • madlad Profile Picture
    2,637 Super User 2025 Season 1 on at
    Re: How to Create a Notification Banner that includes all "required field missing" errors

    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.

     

  • CCJones Profile Picture
    244 on at
    Re: How to Create a Notification Banner that includes all "required field missing" errors

    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." ?

  • Verified answer
    madlad Profile Picture
    2,637 Super User 2025 Season 1 on at
    Re: How to Create a Notification Banner that includes all "required field missing" errors

    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!

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard