cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JDpower
Frequent Visitor

Creating a multi level app

Hello All,

 

 

I have a sharepoint list where i save all the details related to new account creation. But now i need to create a multi level power app form so that user can fill that form by clicking on numbered button(image attached). After filling the entire form the user will select submit and all the details will be saved to a single sharepoint list. I'm not sure how to create this kind of layout (even if it is possible or not) using powerapps for a single form. Any suggestion will be helpful. 

 

form1.pngform2.png

 

Regards,

JD

1 REPLY 1
Power Apps
Power Apps

Re: Creating a multi level app

Hi JDpower,

 

Yes, there's two ways you can do this, both with their own positives / negatives.

  • Use the 'Patch' function
    • Set up individual forms on each page, each form has a different set of cards corresponding to their respective fields of the SharePoint list.
    • On your 'submit' button, use the Patch function to make one single submission to the sharepoint list, referencing the user inputted data for the appropriate fields.
      • Something like:
        Patch(MyList, Defaults(MyList), {Column1: UserInput1.Text, Column2: UserInput2.Text})
      • documentation on patch function
      • googling 'patch sharepoint list powerapps' also turns up some good videos
  • Use visibility logic to hide/show the cards based on what step the user is on
    • Idea here is to have a single form, and as the user progresses through filling it out, you hide / show certain cards depending on their progression.
      • Since it's just a single form, you don't have to use the Patch function. You can just use the SubmitForm function
    • You would want to use a variable to mark where the user is in the form. As they click a 'Next' button, for example, you would want it to increment:
      • Set(_userProgress, Min(9, _userProgress + 1))
        • The Min function ensures that the user progress cannot increment indefinitely
      • A similar feature would have to be created for a 'Previous' button
    • Different cards in the form would have their visibility property set to the value of user progress
      • The visibility of the cards on the first page would be:
        • _userProgress = 1
          • etc, etc for the other pages

Let me know if you need further details

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Attending MBAS? Claim your badge

Attending MBAS? Claim your badge

Whether you’re streaming the digital event live, or watching on-demand, claim your attendee badge to sport on your profile.

‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

‘Better Together’ Integration Forum Launch

‘Better Together’ Integration Forum Launch

We're launching a how-to forum where you can learn about how Power BI integrates with other Power Platform products.

Emergency Response & Monitoring Solution

Emergency Response & Monitoring Solution

Microsoft has created a regional government emergency response and monitoring solution that is built on Power Apps and Power BI.

Top Solution Authors
Top Kudoed Authors
Users online (5,616)