How to Auto-Assign Field Names Based on Games Per Field in a Repeating Group?

Hey Bubble Experts!

I’m working on a game assignment system where I need the Field Name to auto-generate based on the number of times each field is needed. Here’s the challenge:

  • Each Tournament Field has a Total Games value, which represents how many games will be played on that field.
  • I need to repeat each Field Name in my Repeating Group as many times as its Total Games value so that the correct field assignments appear dynamically.
  • The Repeating Group already generates game rows dynamically based on the total number of games, but I can’t get the Field Names to distribute correctly.

Ideal Outcome:

  • If Field A has 3 games, it should appear three times in the RG.
  • If Field B has 2 games, it should appear two times in the RG.
  • The Repeating Group should dynamically generate the correct sequence based on how the Tournament Director set up the field allocations.

Any ideas on how to achieve this in Bubble? Has anyone tackled something similar? Appreciate any help! :raised_hands:


You must have a field on the game that references the field. But apart from the total number of games, you must have a game for each game

Then, you can display games instead of the fields on the RH and it will show as many games as you have. You can still reference the games’s parent field in the rg item due to the reference

Ok. I am trying to use this to create the games so I guess there in lies the problem. I guess I wouldnt need to do it that way. Can I create the games where each field name is auto generated based on the number entered per field name or will I need to do it individually?

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