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 / Submit Multi Page form...
Power Apps
Answered

Submit Multi Page form to a SharePoint list

(0) ShareShare
ReportReport
Posted on by 11

HI

 

I have a SharePoint Online list with loads of columns. I've created a custom form using PowerApps with multiple pages to make it easier for my users to complete in sections. 

 

When I go to save the form, I get the following

 

1. 3 separate submissions if I use this OnSave syntax

SubmitForm(SharePointForm1);SubmitForm(SharePointForm1_2);SubmitForm(SharePointForm1_3)

 

2. Only page 1 list columns saved to SharePoint list if i use this Syntax

SubmitForm(SharePointForm1)&&SubmitForm(SharePointForm1_2)&&SubmitForm(SharePointForm1_3)

 

I'm reading the Patch Function probably wont help my situation. 

 

Does anyone else use Powerapps custom forms with SharePoint Online?

 

What the hell am i doing wrong? I though this Powerapps product was supposed to make things easier to throw out easy automations. This is not easy. 

 

Bring back Infopath

Categories:
I have the same question (0)
  • Verified answer
    mdevaney Profile Picture
    29,991 Moderator on at

    @jamestredree 

    Hi there.   Is all of your data stored in the same table?  If yes, there is no need to create multiple forms.  You can use a single screen and show/hide datacards when the user clicks a button to goto the next section.  It will appear like there are multiple screens but there aren't.  An advantage of doing things this way is your only have to submit the form once.

     

    Put this code in the OnVisible property of your screen

    Set(currentPage,1)

     

    Then for every datacard you want showing on Page 1 you must put this code in the visible property.  For any datacards showing on other screens use the appropriate page number

    currentPage=1

     

    Create a button to browse to the next page with the following properties.  We will say for this example there are 3 screens.

    Text: "Next Page"
    OnSelect: Set(currentPage,Min(currentPage+1,3)
    Visible: currentPage<>3

     

    Create another button to browse to the previous page with the following properties.

     

    Text: "Previous Page"
    OnSelect: Set(currentPage,Max(currentPage-1,1)
    Visible: currentPage<>1

     

     

    Finally create a button to Submit the form with the following properties

    Text: "Submit Form"
    OnSelect: SubmitForm(your_form_name_here)

     

    Let me know if you have questions.

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up." 

  • jamestredree Profile Picture
    11 on at

    Perfect! Thank you

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, your example above is helping me with a multi-page form I was trying to update via mobile phone app. I have a question relating to the layout of the form inputs/data Cards. Because I have way more cards than can fit on one page, how do you lay them out on the page to ensure they are visible when the user clicks on the Next Page button? Is it just a case of using size and position boxes in the Properties and layer them over the top of others, or should I be looking at a different method?

     

    I have to add I am very new to Power Apps and just finding my way, so please have patience if I ask silly questions.

     

    Many Thanks

    Mike

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 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard