How to reference a repeating group's input box?

I have an input box in my repeating group that displays an indefinite number of items.

On a separate area I have a button that when clicked it will get the results of all the input boxes added by the user in that repeating group.

How do you reference it? And recognize if this is input box is from cell A, cell B, etc.

Here’s a screenshot of my app to see what I am going for:

The idea is to get the qty input box from the repeating group when the user pressed the “add to cart” button, and the result should show up in the “new order” container.

You may be interested in the RepeatingGroup Tools plugin. It can reference and calculate RG element values without touching the database. Has helped me in similar situations.

3 Likes

Couldn’t agree more the RepeatingGroup Tools (bdk) bubbles repeating group’s is rather like apple pie and custard… The two are just made for each other

Thank you, I added the plugin to my app but I’m not sure what to do next.

I tried looking for a documentation for it but I can’t seem to find any.

I see some new elements but I’m not sure what to do with it and how to make it work so it can reference my repeating groups.

Any help on how to get me going would be appreciated! Thanks!

Here you will find “in action” , “guide” as well as the how to use… The guide option allows you to see the editor as well as the visitor experience

1 Like

Thanks for the link. I was able to set everything up with the RGExtractor and RGData, however I am still confused about it.

How do I exactly incorporate it in my workflow? The demo doesn’t seem to be clear enough.

When “add to cart” button is clicked, what’s the next step?
It says the data can be reference through DataElement column1, 2, etc but how do I go about that exactly?

Sorry, I’m new to bubble and to programming in general so any help would be appreciated!

I’m not sure if you’ve figured it out yet but sharing just in case…

You’ll want to reference the name of the Data Element then respective Column like this:

1 Like

Do you have it in an example to share?