cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

Breaking up a form into two parts

Hi.  I'm building a pretty big form.  I'd like to split the form into two parts.  

 

Part 1: This top part should have the basic information on who is filling out the form.  Name, date, location, etc etc.  There are about 10 items here.  

 

Part 2: The second part is a bunch of yes or no questions for each section.  

 

What is the best way to do this?  As of right now, I'm thinking of adding form 1 to form 2 and hiding everything then using a patch to patch form 1 to form 2 and submit everything.  Is there a better solution?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Breaking up a form into two parts

Hi @dyee4613,

 

Do you want to save data from multiple screens to data base at a time?

I have made the following test, please take it for a reference.

Create an app from data with SharePoint list which contains three screens, BrowseScreen1, DetailScreen1, EditScreen1.

Duplicate the EditScreen1, then EditScreen1_1 will be created.

3.PNG

Select the EditScreen1, select the Accept icon (√) and set its visible property from true to false. Display the rows that you want to show on this screen, then insert a Next arrow icon at the bottom of the screen and set its OnSelect property with the following code:

NewForm(EditForm1_1);Navigate(EditScreen1_1,ScreenTransition.Cover)

1.PNG

Select EditScreen1_1, rename the text of the screen to Additional Details and show other columns that you want to show on this screen. Set the visible property of the accept icon to false. Insert a button at the bottom of the screen and set it OnSelect property with the following code:

Patch(ListA,Defaults(ListA),EditForm1.Updates,EditForm1_1.Updates);Navigate(BrowseScreen1,ScreenTransition.Fade)

2.PNG

Test the app, you will find that all the items would be submitted to the list at a time.

Hope it could be your reference.

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Breaking up a form into two parts

Hi @dyee4613,

 

Do you want to save data from multiple screens to data base at a time?

I have made the following test, please take it for a reference.

Create an app from data with SharePoint list which contains three screens, BrowseScreen1, DetailScreen1, EditScreen1.

Duplicate the EditScreen1, then EditScreen1_1 will be created.

3.PNG

Select the EditScreen1, select the Accept icon (√) and set its visible property from true to false. Display the rows that you want to show on this screen, then insert a Next arrow icon at the bottom of the screen and set its OnSelect property with the following code:

NewForm(EditForm1_1);Navigate(EditScreen1_1,ScreenTransition.Cover)

1.PNG

Select EditScreen1_1, rename the text of the screen to Additional Details and show other columns that you want to show on this screen. Set the visible property of the accept icon to false. Insert a button at the bottom of the screen and set it OnSelect property with the following code:

Patch(ListA,Defaults(ListA),EditForm1.Updates,EditForm1_1.Updates);Navigate(BrowseScreen1,ScreenTransition.Fade)

2.PNG

Test the app, you will find that all the items would be submitted to the list at a time.

Hope it could be your reference.

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,009)