Parent Repeating Group: Group by, Nested repeating group set up

Hi, I want to display submissions from users. Fields in submissions are
Scope
Category
Subcategory
Strata
Content

I want to use a parent repeating group to display submission that has the same scope, category and subcategory, and a nested repeating group to display content for different strata within the same scope, category and subcategory

for instance, if there are three submissions

Submission #1:
Scope #1
Category #1
Subcategory #1
Strata #1
Content

Submission #2:
Scope #1
Category #1
Subcategory #1
Strata #2
Content

Submission #3:
Scope #1
Category #2
Subcategory #1
Strata #1
Content

Then the desire display is

Parent repeating group:

Scope #1
Category #1
Subcategory #1
Nested repeating group:
Strata #1’s submission content
Strata #2’s submission content

Scope #1
Category #2
Subcategory #1
Nested repeating group:
Strata #1’s submission content

I’m struggle with defining data type and data source and in general how to set this up

Thank you Bubble community

I am guessing there will be multiple scopes, categories, and subcategories as well?

IF this is the case, then all of these needs to be in a repeating group of its own. Like the outer-most RG is for scope, then for category, etc etc. See the picture below:

Of course, this looks like a lot of do a search fors :slight_smile:

Or you can directly search scopes, categories, subcategories etc. And making sure that if there is none, the inner RG’s don’t show up:

Anyways, just some thought :wave:

1 Like