# Separate field list of text to be displayed in a repeating group

**URL:** <https://forum.bubble.io/t/separate-field-list-of-text-to-be-displayed-in-a-repeating-group/184315>\
**Category:** Questions\
**Created:** [December 30, 2021, 5:47pm UTC](https://forum.bubble.io/t/separate-field-list-of-text-to-be-displayed-in-a-repeating-group/184315 "2021-12-30T17:47:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![luminrabbit](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/luminrabbit/32/103740_2.png) [@luminrabbit](https://forum.bubble.io/u/luminrabbit)\
**Post date:** [December 30, 2021, 5:47pm UTC](https://forum.bubble.io/t/separate-field-list-of-text-to-be-displayed-in-a-repeating-group/184315/1 "2021-12-30T17:47:24Z")

</div>

I have a field with a list of items in it separated by a comma

 ![Screen Shot 2021-12-30 at 11.57.29 AM](https://us1.discourse-cdn.com/bubble/original/3X/e/8/e8bba854c00b41d83df673b60e53e35adc34ab74.png)

Would it be possible to separate the text by the comma to display these individually in a repeating group?

Currently the RG is displaying it as:  
horns made of ivory, studded rim made of gold, chain around the rim

When Id like to get it to display:  
horns made of ivory  
studded rim made of gold  
chain around the rim

I’ve tried :spilt by and a lot of different variations with no success.

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [December 30, 2021, 5:58pm UTC](https://forum.bubble.io/t/separate-field-list-of-text-to-be-displayed-in-a-repeating-group/184315/2 "2021-12-30T17:58:59Z")

</div>

Hi there, @luminrabbit… I know you said you tried it, but using _:split by_ and splitting by the comma should produce the desired result. So, the repeating group’s data source would be something like `Search for Decriptions:first item's:lineItems-list:each item:split by (,)`. I don’t know how you are defining which thing in the `Description` data type you want to show in the repeating group, so that’s why I put _:first item_ in my example, but you get the point.

If that isn’t working for you, maybe post a screenshot or two.

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![luminrabbit](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/luminrabbit/32/103740_2.png) [@luminrabbit](https://forum.bubble.io/u/luminrabbit)\
**Post date:** [December 30, 2021, 6:07pm UTC](https://forum.bubble.io/t/separate-field-list-of-text-to-be-displayed-in-a-repeating-group/184315/3 "2021-12-30T18:07:31Z")

</div>

@mikeloc  
Thank you so much that did the trick!  
I didn’t have :first items in there as I was just trying to display everything but this is fantastic! Thank you very much!

---

<div class="post-metadata">

**Author:** ![alagios25](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@alagios25](https://forum.bubble.io/u/alagios25)\
**Post date:** [October 18, 2022, 12:23pm UTC](https://forum.bubble.io/t/separate-field-list-of-text-to-be-displayed-in-a-repeating-group/184315/4 "2022-10-18T12:23:57Z")

</div>

Hi @mikeloc

I am having the same issue with splitting a Field List of texts in a repeating group.  
Ingredients List:

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

Repeating Group Settings:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/c/5/c5af8179f5efaca74bc6b5f08912752ff2aa95a9.png)

Repeating Group Text Settings:

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

Perhaps you can help me troubleshoot - any help is much appreciated!  
Thanks!

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [October 18, 2022, 12:28pm UTC](https://forum.bubble.io/t/separate-field-list-of-text-to-be-displayed-in-a-repeating-group/184315/5 "2022-10-18T12:28:14Z")

</div>

If I am seeing things correctly, try taking the expression in your second screenshot and putting it in the first screenshot as the data source of the repeating group. Then, select the appropriate option (which might just be `This Text`) for the text element in the second screenshot.

Edit: after taking a closer look at your data, I don’t think you are going to get the desired result by using the solution in this thread.

---

<div class="post-metadata">

**Author:** ![lydia.provin](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/lydia.provin/32/88468_2.png) [@lydia.provin](https://forum.bubble.io/u/lydia.provin)\
**Post date:** [September 11, 2023, 7:29am UTC](https://forum.bubble.io/t/separate-field-list-of-text-to-be-displayed-in-a-repeating-group/184315/6 "2023-09-11T07:29:49Z")

</div>

I know the thread is almost a year old, but I had exactly the same need for the app I’m creating.  
The principle is that a user can take care of several customers at the same time, and the manager wants to know in real time who is taking care of which customer.

So I have a RG that includes the list of users, then another RG inside based on a Type of content Text and a Data source with `Search for Users : each item's Current client'Company name` (the Search being filtered by the unique id with a `Parent group's User's unique id`).

Finally, in this RG, I place a Text element with simply `Current cell's text` and I have a RG with the list of my customers and a line break between each name.

Hope this helps 😉
