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 / I'm trying to create a...
Power Apps
Unanswered

I'm trying to create a "Success" Message after the submit button but I keep getting an error

(0) ShareShare
ReportReport
Posted on by 121

How do you create a success mssge after the submit button is clicked

 

Categories:
I have the same question (0)
  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Hey @Sonyat810

     

    you can use the Form's OnSuccess property, and then put the following in there:

    Notify("Great Success!!", NotificationType.Success)

     

     

    Cheers,

    Sancho 

  • Sonyat810 Profile Picture
    121 on at

    I keep getting a network patch error.

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Ah that is a separate issue with your form - can you provide some code and screenshots of the error when the code is hovered-over?

  • Sonyat810 Profile Picture
    121 on at

    Sonyat810_0-1677251956475.png

     

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Are you using a patch function anywhere or is it just the SubmitForm(formname) action?

    Could you please show the code you are using for the patch? The errors like that usually indicate an incorrect field format or inclusion of a field that is read-only

  • Sonyat810 Profile Picture
    121 on at

    No I'm not using the Patch. What is the code for that? Do I put it on The OnSuccess or OnSelect

  • Sonyat810 Profile Picture
    121 on at

    SubmitForm(EditForm1);If(IsEmpty(Errors(EditForm1)),Notify("Record Has Been Updated Successfully")

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    No that's ok - I was just checking if you were using it to eliminate other possibilities

     

    I'm going to assume you used 'create app from data' or something similar and chose the list name to create the app. Do you have edit/contribute rights to that list? If you go directly to the list this app connects to, can you create a row manually on the actual list?

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    In addition to the above (please check you can actually put items in the list!), you can modify your current submit button code

    Currently you said you have:

    SubmitForm(EditForm1);If(IsEmpty(Errors(EditForm1)),Notify("Record Has Been Updated Successfully")

    However, you can move the notify to the OnSuccess property of the Form itself as I said before, so your submit button becomes:

    SubmitForm(EditForm1);

     

    and your form's OnSuccess becomes:

    Notify("Record Has Been Updated Successfully", NotificationType.Success)

     

    however, this won't solve the issue you are currently facing, please follow the troubleshooting steps above so that we can look into the separate issue of you not being able to submit.

     

  • Sonyat810 Profile Picture
    121 on at

    I'm still getting the error

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

#2
11manish Profile Picture

11manish 193

#3
Valantis Profile Picture

Valantis 138

Last 30 days Overall leaderboard