# Storing Data in a Repeating Group

**URL:** <https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453>\
**Category:** Database\
**Created:** [July 27, 2018, 6:05pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453 "2018-07-27T18:05:18Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![dominique1](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@dominique1](https://forum.bubble.io/u/dominique1)\
**Post date:** [July 27, 2018, 6:05pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/1 "2018-07-27T18:05:18Z")

</div>

I have been searching for the past 2 days and cannot find anything on the forum with the answer I need.

I want the ability to Input information into a group and have it add the information to a repeating group without overriding what was previously added.

I would also like the ability to click on an option in the group and edit the information for that specific entry that has been clicked

Group A:  
Client  
Location  
Start Date/Time  
End Date/Time

Repeating Group:  
(Should add every entry to the list)

Please someone HELP!

---

<div class="post-metadata">

**Author:** ![nikolai](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nikolai/32/13582_2.png) [@nikolai](https://forum.bubble.io/u/nikolai)\
**Post date:** [July 27, 2018, 6:29pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/2 "2018-07-27T18:29:41Z")

</div>

Hi @dominique1 - at a high level here are some steps to take:

1. Create a Data Type called “ **Group** ”
2. Within **Group** , create Data Fields

- **Client** (type User or text depending on your need)
- **Location** (type text)
- **Start** (type date)
- **Stop** (type date)

1. In your design, create the relevant inputs and a button to input the Data Fields and initiate workflow to create a new **Group**
2. Create a repeating group (RG) that does a search for **Group**. Add text fields to show the 4 data types
3. Add a button in RG to open a popup. In the button’s workflow, Display current cell’s **Group** data to that popup.
4. In the popup, create similar text/inputs as you did in #2 above. Have Initial content be the Parent Group’s **Group** content. Have a button to save and another to close popup. For button to save, initiate workflow to make changes to Parent Group’s **Group**.

If I’m understanding the behavior of your app, these are some quick high-level steps that should get you there. Hopefully these steps made some sense.

---

<div class="post-metadata">

**Author:** ![dominique1](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@dominique1](https://forum.bubble.io/u/dominique1)\
**Post date:** [July 27, 2018, 7:00pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/3 "2018-07-27T19:00:54Z")

</div>

I have attempted the first part which is to have Group (form) store information into the repeating group. The problem is every time I type in new information. It erases the old information I added. It’s not keeping it saved in the RG.

---

<div class="post-metadata">

**Author:** ![nikolai](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nikolai/32/13582_2.png) [@nikolai](https://forum.bubble.io/u/nikolai)\
**Post date:** [July 27, 2018, 7:30pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/4 "2018-07-27T19:30:01Z")

</div>

Do you have a workflow to create a new thing (“Group”) every time a new set of data is entered into the inputs? Referring to pic below, when you look in your database (Data ==\> App Data) , you’ll see multiple instances of the thing (“Group”) you created. Your RG Search shouldn’t have any Constraints and you should see all of the “things” in your RG.  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/8/a/8a57a58da3fb3019403e640a49ea214486fe7349.png)

---

<div class="post-metadata">

**Author:** ![dominique1](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@dominique1](https://forum.bubble.io/u/dominique1)\
**Post date:** [July 27, 2018, 9:03pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/5 "2018-07-27T21:03:51Z")

</div>

All the data I entered is showing in the Data–\>App Data (thank you for showing me this feature). But it does not show in my RG table on the live/preview screen

---

<div class="post-metadata">

**Author:** ![nikolai](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nikolai/32/13582_2.png) [@nikolai](https://forum.bubble.io/u/nikolai)\
**Post date:** [July 27, 2018, 10:19pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/6 "2018-07-27T22:19:34Z")

</div>

Do you have your RG Search setup similar to the pic below. Yours would have “Group” or whatever your data-thing is called instead of “User”  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/7/4/74e5c2ad72d789130bc6e88ae0ad0380423fa3b7.png)

Then in the first cell of your RG, you’d have a text field with something like “Current cell’s Thing” in it:

- Current cell’s Thing Client
- Current cell’s Thing Location
- Current cell’s Thing Start
- Current cell’s Thing Stop

---

<div class="post-metadata">

**Author:** ![dominique1](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@dominique1](https://forum.bubble.io/u/dominique1)\
**Post date:** [July 30, 2018, 3:23pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/7 "2018-07-30T15:23:13Z")

</div>

Yes I do have those fields

---

<div class="post-metadata">

**Author:** ![nikolai](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nikolai/32/13582_2.png) [@nikolai](https://forum.bubble.io/u/nikolai)\
**Post date:** [July 30, 2018, 3:42pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/8 "2018-07-30T15:42:19Z")

</div>

Can you provide screenshots on how you have your repeating group setup and also the fields (ie text) in the first RG cell?

---

<div class="post-metadata">

**Author:** ![dominique1](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@dominique1](https://forum.bubble.io/u/dominique1)\
**Post date:** [July 30, 2018, 4:23pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/9 "2018-07-30T16:23:05Z")

</div>

See images below:

 ![46](https://us1.discourse-cdn.com/bubble/original/3X/d/1/d1db34759b648362c6c3b256fd021cbcc3fa17c7.png) ![37](https://us1.discourse-cdn.com/bubble/original/3X/e/3/e37715713c45cd4a7b16f44178a164c0140b3043.png) ![14](https://us1.discourse-cdn.com/bubble/original/3X/a/d/adeb9f06b79318b9221ccb1f2c6e36bf69e6ee3d.png)

---

<div class="post-metadata">

**Author:** ![nikolai](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nikolai/32/13582_2.png) [@nikolai](https://forum.bubble.io/u/nikolai)\
**Post date:** [July 30, 2018, 4:39pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/10 "2018-07-30T16:39:22Z")

</div>

@dominique1 - thanks, these pics are helpful. Two things:

1. On your RG search, it’ll only show the “Group” that have the exact values in the Client, Location, StartDate and EndDate fields (the inputs from the upper left corner of your page). I suspect this is not what you want as it’ll be very constraining. I think what you want is to remove the 4 constraints you have currently in the pic below. That way when the RG search occurs, all of the instances of **Group** from the database will show up in a RG’s respective cell  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/2/d/2de01629a82e56cb0344cd0062b5747fa3a5d46b.jpg)

2. In your RG, the text field you have is setup to show the 4 Input values I referred to above (see pic below).  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/2/6/26e22bcbc7e111ac1f83f1f9696a56744807a6fc.jpg)

What you want in the RG is:  
“Client: Current cell’s Group’s Client”  
“Location: Current cell’s Group’s Location”  
“Start: Current cell’s Group’s StartDate”  
“Stop: Current cell’s Group’s StopDate”

Hope this makes sense and helps.

---

<div class="post-metadata">

**Author:** ![dominique1](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@dominique1](https://forum.bubble.io/u/dominique1)\
**Post date:** [July 30, 2018, 4:44pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/11 "2018-07-30T16:44:18Z")

</div>

When implement #1 it fills in all the boxes with the exact same information.

It is still doing the same thing when I implement #2. Once I start typing in new information to be added to the list it deletes it out of the RG. I can only view it in the data area that shows all entries

---

<div class="post-metadata">

**Author:** ![nikolai](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nikolai/32/13582_2.png) [@nikolai](https://forum.bubble.io/u/nikolai)\
**Post date:** [July 30, 2018, 5:20pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/12 "2018-07-30T17:20:54Z")

</div>

Can you provide a picture of the workflow when “Save” is clicked?

---

<div class="post-metadata">

**Author:** ![dominique1](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@dominique1](https://forum.bubble.io/u/dominique1)\
**Post date:** [July 30, 2018, 5:51pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/13 "2018-07-30T17:51:48Z")

</div>

Workflow for “Save” button

 ![46](https://us1.discourse-cdn.com/bubble/original/3X/c/6/c65054a6f9c616a2718e8c94217e68be21be3de4.png)

---

<div class="post-metadata">

**Author:** ![nikolai](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nikolai/32/13582_2.png) [@nikolai](https://forum.bubble.io/u/nikolai)\
**Post date:** [July 30, 2018, 6:20pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/14 "2018-07-30T18:20:59Z")

</div>

Can you send updated pics with the RG changes? Alternatively, if you’re ok with it, can you share your app? It’s under Settings ==\> General and pick “Everyone can view”. Refer to pic below.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/d/6/d63665790640372f38ab677c5c2d8cf243fe91a3.png)

---

<div class="post-metadata">

**Author:** ![dominique1](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@dominique1](https://forum.bubble.io/u/dominique1)\
**Post date:** [July 30, 2018, 6:28pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/15 "2018-07-30T18:28:25Z")

</div>

I have deleted everything and starting from scratch to see it it will work. Once completed I will let you know if it works

---

<div class="post-metadata">

**Author:** ![dominique1](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@dominique1](https://forum.bubble.io/u/dominique1)\
**Post date:** [July 30, 2018, 7:39pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/16 "2018-07-30T19:39:18Z")

</div>

I started over and added all the fields I need for the app. The app is now adding the inputs to the list but it’s not filling in all the information needed (i.e. Provider and Provider Cost)

I’ve made the app so everyone can view. Not sure how to share it on the post

---

<div class="post-metadata">

**Author:** ![nikolai](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nikolai/32/13582_2.png) [@nikolai](https://forum.bubble.io/u/nikolai)\
**Post date:** [July 31, 2018, 12:45am UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/17 "2018-07-31T00:45:21Z")

</div>

Hi @dominique1 - simply copy/paste the URL from your editor into this message thread (see example below)

> **[Bubble Editor - echolaketechnologies](https://bubble.io/page?type=page&name=page_template&id=echolaketechnologies&tab=tabs-1)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

---

<div class="post-metadata">

**Author:** ![dominique1](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@dominique1](https://forum.bubble.io/u/dominique1)\
**Post date:** [August 1, 2018, 3:51pm UTC](https://forum.bubble.io/t/storing-data-in-a-repeating-group/34453/18 "2018-08-01T15:51:38Z")

</div>

Nikolai,

Thank you for all your help. I was able to figure out the problem and fixed it. I appreciate your help. I am now working on trying to get the information on the RG to show in a pop out group for editing
