cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ricky23
Level: Powered On

Re: Is it possible to split the Edit Form into multiple screens?

@Anonymous First I added a Data Source then I activated the Insert tab ->Forms->EditForm and under the properties pane, selected the data source.

 

Here is my SharePoint ListList.PNG

 

Community Support Team
Community Support Team

Re: Is it possible to split the Edit Form into multiple screens?

HI @ricky23 ,

Do you want to split the Edit form into multiple screens, and submit all Edit forms data into single one item in your SP list once time?

Based on the needs that you mentioned, I think PowerApps could achieve your needs. On your side, you could consider take a try to add one Edit form (Form1, Form2, Form3, ...) within each screen you want to display form data. Set the FormMode property of All Edit forms to FormMode.EditWithin each Edit form in multiple screens, enable proper Data cards you want to display.

Then add one "Next" button within each screen except for the last screen (which contains the Edit form), set the OnSelect property to following:

Navigate(NextScreen, ScreenTransition.Fade)

Within the last screen which contains the Edit form, add a "Submit" button, set the OnSelect property of the "Submit" button to following:

Patch(
   'YourSPList',
    Defaults('YourSPList'),
    Form1.Updates,
    Form2.Updates,
    Form3.Updates,
    Form4.Updates,
    ...
)

More details about split Edit forms into multiple screens, and submit all Edit forms data into single one item in your SP list once time, please check and see if the response within the following thread would help in your scenario:

https://powerusers.microsoft.com/t5/Creating-Apps/Multiple-screen-app-looks-nice-for-the-user-proble...Smiley Tongue

 

https://powerusers.microsoft.com/t5/General-Discussion/Save-data-to-SharePoint/m-p/152242/highlight/...

https://powerusers.microsoft.com/t5/Creating-Apps/Multiple-forms-to-one-item-sharepoint-list/m-p/142...

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Super User
Super User

Re: Is it possible to split the Edit Form into multiple screens?

Hi @v-xida-msft , 

I'm working throught your suggestion above and have observed the following:

When using Patch to submit multiple forms, the OnSuccess/OnFailure logic needs to be handled differently. 

Example: I tried putting this on both forms OnSuccess, but it does not catch an error (Required field not populated). 

If(
And(
IsBlank(frm1.Error),
IsBlank(frm2.Error)
), Navigate(scr_success, Cover), false
)

Do you have any insights on how to tie the forms OnSuccess/OnFailure logic together? 

Thank you

 

roshan2rg1111
Level: Powered On

Re: Is it possible to split the Edit Form into multiple screens?

but how can i save edited data form the patch function inserted a new row.but i want to update the data how can do.can you please share the code?


 

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 201 members 4,765 guests
Please welcome our newest community members: