How to Display Different Data at Specific Positions in a RepeatingGroup

I am using a RepeatingGroup to display data of the Post data type in Bubble. I would like to display different Post data filtered by specific criteria at certain positions (e.g., 2, 6, 10, 14…).

Is it possible to implement this in Bubble? I have tried using the merged with and modulo functions, but it doesn’t seem to work. If anyone knows a technique to achieve this, I would appreciate your help.

Thanks in advance.

I’m doing this in this screenshot; I’m using a repeating group of the patent data type (in this example, types of Liquor), and that has a repeating group of the Ingredient where my constraint is this ingredients liquor is parent’s liquor.

1 Like

msgiblin, Thank you!
In Repeating Group, you want to change the Data Source if the index matches the criteria. (not the style).
Can you please share a screenshot of your RepeatingGroup settings?

Corp. do you still need help with this?
Dana. :slight_smile:

1 Like

Main repeating group:

SubData repeating group:
1000035618

1 Like

Thanks!
I will take this as a reference.

Currently, I am in the process of setting up two Groups directly under RepeatingGroup and verifying that the special Groups are only displayed for a particular index.
スクリーンショット 2024-07-23 14.35.29
スクリーンショット 2024-07-23 14.35.40

1 Like

Thanks Dana!
I need your help.

Here’s a simple way to do it. Just set the condition of the repeating cell to change format or data you want.
Example, just to display the index.
image

Then change the content of that cell based on the condition you want, based on the index, such as color or data…

You get this:
image

Does that help?
:slight_smile:

1 Like

Thanks! Dana😁

I’ll take your advice and verify it.

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