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 / Need Help Submitting F...
Power Apps
Answered

Need Help Submitting Form that has multiple pages (ResponseCollect or SubmitForm)

(0) ShareShare
ReportReport
Posted on by 126

Hello All,

 

I am currently making a form that collects data across multiple pages, and is connected to a Sharepoint data source. 

 

Attached is a photo of the final page of the form, which collects data on 5 pages (EditForm1 - EditForm1_4) before giving the end user the option to submit.

 

What is wrong with my current formula? How do I fix it t submit the data from all of my pages? Looking for guidance

submit_multiple_forms1.png
Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Patch(splist, Defaults(splist),EditForm1.Updates,EditForm1_1.Updates,EditForm1_2.Updates,...etc)

  • chinda Profile Picture
    126 on at

    Could you explain what this code does? Also, I still have the following error:

     

    What am I still doing wrong?

    still_error_submit.png
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Remove the SubmitForm(). Patch does the same thing.

  • Verified answer
    chinda Profile Picture
    126 on at

    Hey  @Drrickryp  I removed the SubmitForm but am still getting the same error. Here is my code: 

    Patch(
    splist,
    Defaults(splist),
    EditForm1.Updates,
    EditForm1_1.Updates,
    EditForm1_2.Updates,
    EditForm1_3.Updates,
    EditForm1_4.Updates
    )

     What am I doing wrong?

    same_issue.png
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @chinda 

    You need to replace splist with the name of your sharepoint list.

  • chinda Profile Picture
    126 on at

    Awesome that worked, how can I incorporate a Navigate() as well to go to the final success screen @Drrickryp ? 

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @chinda 

    From Matt Deveney's blog https://www.matthewdevaney.com/power-apps-patch-function-error-handling/ 

     

    Patch(....); //Put your patch statement here
    If(
     // check if there were any errors replace splist with your actual list name
     !IsEmpty(Errors('splist')),
     // if true, show any error message
     Notify(
     "Submission failed",
     NotificationType.Error
     ),
     // else, go to success screen
     Navigate('Success Screen')

    See the blog for the formula for a more detailed error message.

     

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
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 627

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard