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 / Formula SubmitForm() n...
Power Apps
Unanswered

Formula SubmitForm() not working

(0) ShareShare
ReportReport
Posted on by 17

Hi everyone,

 

I recently had this problem on my app.

 

I have a edit form where I can edit data from a Sharepoint list, the edit form does not show every column of the list bus just some of them.

 

When I edit the form and I click on the button Submit the form doesn't update the content on Sharepoint at the first click but it needs at least 2 or 3 clicks to get the changes on the list.

 

This is strange and very annoying.

 

powerapps.png

 

 

Help me please

 

Categories:
I have the same question (0)
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @pfund How do you know it's not getting saved in the 1st click? Did you try to load the saved back into the App and view it?

  • pfund Profile Picture
    17 on at

    Because in the other window I have the Sharepoint list and its not updating any field, even if I refresh the page.

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @pfund After SubmitForm(), the Form will by default go into the Edit Mode and that's the best way to check if the record has been saved successfully. Also If the record was saved successfully, the OnSuccess() will be triggered. You can put a simple message there to test it out.

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @pfund 

    Are you stating that the actual list is not updated on Submit, or that the information in PowerApps is not updated?

    Also, keep in mind that SubmitForm is an asynchronous process, so having anything after the SubmitForm statement will evaluate immediately after the SubmitForm function is instantiated - but NOT after the SubmitForm function has completed.

    You would want to move your Set formula to the OnSuccess and OnFailure actions of the form in order for your spinner concept to work properly.

     

    But, the first question I ask is more significant to your issue.

  • pfund Profile Picture
    17 on at

    Hello @RandyHayes ,

    Yes, the actual list after the Submit is not updating. 

     

    Anyway I will try to change the Set formula on the On Success action.

     

     

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @pfund 

    Then you are most likely getting an error in the SubmitForm.

    To verify, place this formula in the OnFailure:  Notify("Fail")

    and in the OnSuccces : Notify("Success")

    Try your submit again and see which message you get.  If you get Success, immediately look at your list and see if the results are there.  If they are not, then we can dig deeper into the form datacard update proeprties.

    If you get Fail, then I would advise running the monitor tool to see exactly what is failing.

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 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard