web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Creating a submit butt...
Power Apps
Unanswered

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.

Categories:
I have the same question (0)
  • Verified answer
    mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 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.

     

  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard