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