Forum Academy Marketplace Showcase Pricing Features

Grab next index number from repeating group

I have an app with a sidebar with a repeating group, and a main content pane. Clicking on an item in the sidebar shows that content in the main content pane.

I have a link to delete the content in the main content pane. As part of that workflow, I’d like to grab the next item in the repeating group and show that content in the main content pane. I’m guessing I need to do something with cell index, but I can’t figure out what. Any suggestions?

Cell index gives you a number and then you can use a math operator of + to add 1 to get the cell index number of the next entry in the repeating group.

Thanks - I’ve got it setting the active state of the next item in the repeating group using this approach, but I can’t figure out how to pass that item to the main content container…

When sending the data reference the repeating group as the datasource and then use the operator :item number

This topic was automatically closed after 70 days. New replies are no longer allowed.