Add one fixed group in a repeating group

Hi,

Is it possible to add one fixed group after all the dynamic data is fetched in repeating group.
Something like this:

First seven groups will be getting data dynamically from some table and the last one

There’s probably multiple ways to do this… but here’s how I’d approach it.

  1. Define your list of things to display somewhere outside of the RG (either in a custom state list, or in a hidden RG)

  2. Generate a list of numbers using the ToolBox plugin, that list being the length of the source RG’s list of things, plus 1

  3. Add you main RG to the page, with a content type of Number, and its data source as the list of numbers list.

  4. Inside the cell, add a Group, with a content type of whatever your RG is meant to display, and for its data source, refer to the source RG’s list of things: item number: current cell’s index

  5. Add a condition on this group to make it not visible when the current cell’s index is the source RG’s list of things count.

  6. Add another group to the cell, with the opposite condition (i.e. only visible when the current cell’s index is the source RG’s list of things count), and in this group add whatever content you want to display in the last cell… i.e. More Groups Coming Soon with a plus icon etc.

1 Like

Thanks, Will try this

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