# Shorten a repeating list

**URL:** <https://forum.bubble.io/t/shorten-a-repeating-list/195565>\
**Category:** Need help\
**Created:** [March 10, 2022, 4:41pm UTC](https://forum.bubble.io/t/shorten-a-repeating-list/195565 "2022-03-10T16:41:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![oscar.guinze](https://avatars.discourse-cdn.com/v4/letter/o/cdc98d/32.png) [@oscar.guinze](https://forum.bubble.io/u/oscar.guinze)\
**Post date:** [March 10, 2022, 4:41pm UTC](https://forum.bubble.io/t/shorten-a-repeating-list/195565/1 "2022-03-10T16:41:12Z")

</div>

Hi,  
I have an issue with my repeating list.  
I have set a type for each user that signs up on my website (Customer or Professional).  
The problem is, when I display a repeating group, they show me the the email adress of people I want to see, and I think they are trying to hide the other users.

Here an exemple :

 ![Capture](https://us1.discourse-cdn.com/bubble/original/3X/e/5/e52a65f3b4ad00c8c77707867e09404e367dd5a4.png)  
They simply replace the users I don’t want to show, by a blank.

Here’s how I manage to hide the users I don’t want to show :

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

Thanks in advance.

---

<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:** [March 10, 2022, 4:46pm UTC](https://forum.bubble.io/t/shorten-a-repeating-list/195565/2 "2022-03-10T16:46:11Z")

</div>

Hi there, @oscar.guinze… if I understand your post correctly, you simply need to put a constraint on the repeating group’s data source/search (which you can do by clicking on the search expression) to have the repeating group show only the users you want. In this case, I assume the constraint would be `Type = Customer`. Oh, and then you would remove the condition you are showing in the screenshot.

Hope this helps.

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![oscar.guinze](https://avatars.discourse-cdn.com/v4/letter/o/cdc98d/32.png) [@oscar.guinze](https://forum.bubble.io/u/oscar.guinze)\
**Post date:** [March 10, 2022, 5:09pm UTC](https://forum.bubble.io/t/shorten-a-repeating-list/195565/3 "2022-03-10T17:09:15Z")

</div>

Hi, @mikeloc thanks for the response.  
Like this ?

 ![Capture3](https://us1.discourse-cdn.com/bubble/original/3X/2/2/226aca6cca3563f54d439ed5c65a9ab778a3c22d.png)

I can’t insert the type “Customer” in it

---

<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:** [March 10, 2022, 5:13pm UTC](https://forum.bubble.io/t/shorten-a-repeating-list/195565/4 "2022-03-10T17:13:23Z")

</div>

I assume `Type` is a text field? If so, click anywhere in the red area, and you will be able to type “Customer”.

 ![click](https://us1.discourse-cdn.com/bubble/original/3X/2/f/2f4f69418142240554bbca69393347ef878a2420.png)

That being said, you might want to consider using an option set to define the different user types. If you don’t know much about options sets, take the time to learn about them because they are super useful.

---

<div class="post-metadata">

**Author:** ![oscar.guinze](https://avatars.discourse-cdn.com/v4/letter/o/cdc98d/32.png) [@oscar.guinze](https://forum.bubble.io/u/oscar.guinze)\
**Post date:** [March 10, 2022, 5:27pm UTC](https://forum.bubble.io/t/shorten-a-repeating-list/195565/5 "2022-03-10T17:27:13Z")

</div>

Hallelujah @mikeloc thank you very much for your help and the quickness of your answer. It was an easy task.

I’ll go learn about those options sets you mentioned.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [May 19, 2022, 4:41pm UTC](https://forum.bubble.io/t/shorten-a-repeating-list/195565/6 "2022-05-19T16:41:38Z")

</div>

Closed on May 19, 2022, 4:41pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
