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 / Navigation for multi p...
Power Apps
Unanswered

Navigation for multi page form using collection from multi-select

(0) ShareShare
ReportReport
Posted on by 9

Hi - 

On screen one of a 5-page form, the user will select a check box for the topics/pages need to be completed. The check boxes have been converted from a multi-select field and storing the values in a collection.  I want to navigate to next page based on what that have chosen. I can get to the first selection using If(First(colType).Value = "Spill" , Navigate('Spill')) but don't know the best method for getting them to the remainder of their selections. I want to bypass the screens that are not needed. Also, I can't just go down the list because not everyone will enter them in the same order. 

 

Any help would be appreciated!

 

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @lwarix 

    No collection is needed for this, but having a navigation index variable will be needed.

     

    If you have a multi-select combobox, then you already have the data you need.

    Change your Items property of the combobox to be more like this:

    Table({Value: "Spill", Screen: Spill},
     {Value: "whatever", Screen: Whatever},
     ...etc...
    )

     

    So, for the variable, let's call it varFormIndex it will fit into the formulas as follows:

     

    On your Next button, set the formula to the following:

    Navigate(Index(yourCombobox.SelectedItems, Coalesce(varFormIndex, 1)).Screen);
    Set(varFormIndex, Coalesce(varFormIndex, 1) + 1)

     

    You will want to disable the Next button when you get to the end.  You can use the following in the DisplayMode of the button:

    If(Coalesce(varFormIndex, 1) > CountRows(yourCombobox.SelectedItems),
     Disabled,
     Edit
    )

     

    This should provide what you want.

     

    I would recommend not having separate screens for all of these forms as you will be duplicating all the above over and over.  All the forms can be on the same screen, and ideally, if the form is for the same record, you don't want to split the form without making sure you are doing so properly as it will break the form functionality and features.

     

    I hope this is helpful for you.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard