Forum Academy Marketplace Showcase Pricing Features

Display data from a Vertical RG to a popup with a "next" function

I have a show more button on my vertical RG which toggles a popup and shows all the information from that line on the rg… I would like the user to be able to click a “next” button which would make the popup display the next line item’s info on the rg… Any ideas on this?

Maintain an index in a group or custom state. Increment the index when next is pressed. Retrieve the item at that index from the repeating group and populate the popup.

Hey Scott!
Thanks for the response! I do not want to take up too much of your time, but how do I feed the index from the RG?

1 Like

If you have access to the RG while the popup is visible, in the datasource, put in the RG and select the function :item #, followed the by index. If you don’t have access to the RG from the popup, pass the list as a custom state to the popup and access it there with the similar function as above.

1 Like