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 / Creating a submit butt...
Power Apps
Answered

Creating a submit button for multiple forms

(1) ShareShare
ReportReport
Posted on by 40

Hello,

 

I am currently trying to create a button that will submit multiple forms at once. I have tried to integrate the patch function but it keeps coming up with multiple errors. I have integrated the formula "VarFormData" into all of the "Item" sections of all my forms but still continue to get the errors.

 

 

Any help would be greatly appreciated, thanks.

Halleduncan_0-1720516472536.png
Categories:
I have the same question (0)
  • Verified answer
    mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    hey @Halleduncan 

     

    i use this and it works:

    Patch(
     'Project Closing Reports', 
     varFormData, 
     GeneralForm.Updates, 
     Summaryform.Updates, 
     'Reference Form'.Updates, 
     'Lessons Form'.Updates,
     {Status: "Draft"}
    );Navigate('Success Draft Screen')
    

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • Halleduncan Profile Picture
    40 on at

    Hello,

     

    I am still receiving this error with the adapted formula above.

     

    Thanks.

     

    Capture.PNG
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    hey @Halleduncan 

     

    can you share the code u are currently using plus where u are recieving this error (which part of the code)

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • Halleduncan Profile Picture
    40 on at

    Helli,

     

    I have tried placing in a different formula that now worked. However I am trying to link my new formula to my status field which is where the new error seems to be occurring.

    My new formula is: 

    UpdateContext({locissubmit: false}) && SubmitForm(EditForm1);SubmitForm(EditForm1_1);SubmitForm(EditForm1_2);SubmitForm(EditForm1_3);SubmitForm(EditForm1_4);SubmitForm(EditForm1_5);SubmitForm(EditForm1_6);SubmitForm(EditForm1_7)
     
    Thanks.
    Capture2.PNG

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 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard