I want to do something that seems fairly simple but I can’t seem to figure it out. I put a list viewer on a page and I added items to it and now I just want to navigate to different pages in the app depending on which item in the list is clicked. I can’t seem to figure out how to attached a separate “navigate to” block onto each item in the list. Am I thinking about this right? Any help is much appreciated!
Is it a pre set list of pages? Or does it need to be dynamic? Are you using snap to place or drag and drop; A link to your project would also be helpful so we can see what you are doing and we dont be starting from scratch
Make a local data source with a url in each row of the first column.
Then, in the When List Viewer Item is clicked block, navigate to Open link [Get Value for column 1, row id [index] ]. The index value is the number of the item that was clicked so you’re getting that row # which will contain the corresponding url.
@mbritt you can use if statements to check whether the selected value is equals a value you want and then if it’s true you can navigate the user to the right screen.
Yes, I think @sketch is suggesting what is closest to what I’m looking for - a block that checks to see which item in the list has been clicked and which will take the user to the page (interior page - not a url) corresponding to that item. Here is a link to the project (still in early stages of development) The app teaches students how to memorize various Psychology terms. From the homepage, click on “Test” and you’ll see the page with the list viewer. I want to send users to a different page depending on which item they clicked. Can you just give me a little more info on how to set up the if statements with the list?