Is it possible to create a nested repeater field in WeWeb?

Hey there, I am thinking of switching to WeWeb to build out an app I previously had built in WordPress.

I want to know if it’s possible to create nested repeating fields in a form with WeWeb. This is one of the key parts of the app.

Attached is an image to demonstrate what I mean, the green is the first repeating field, and the purple inside of that is the nested repeating field inside of the first repeater.

A user can add as many green items as they want, and as many purple items within each green item as they want.

Is this possible? Has anyone done something like this before?

Thanks so much in advance!

E8nKSRGixVssC8PdNf1sE

This is absolutely possible. As long as your data is structured properly its really easy. :+1:

In Weweb you’ll just add a “list” element and you can drag another list element inside of it.

Oh wow thanks so much, that is great to know.
I will start testing it out.

Hey @mark thanks so much for this tip. I’ve had a play around and added a list, which I can see adds repeatable elements.

I have added all the form fields I want in it now.

I can’t quite figure out how to get my “Add Item” button to add a new list element. In the Action workflows, I can’t find which on-click action would create a new list item. Should I be using custom JavaScript or am I just missing something?

I have the same situation here, did you resolve?

There’s a couple of different ways you can go about it, and I’m no expert but this is how I do it:

2 Likes

Oh my gosh that was soooo helpful!! Thank you x100000 for taking the time to film that video. I’ll implement that today and see how it goes.

Im happy to hear it helped! Let me know if you run into any issues.