# Open specific number of repeating group cells

**URL:** <https://forum.bubble.io/t/open-specific-number-of-repeating-group-cells/152923>\
**Category:** Need help\
**Created:** [May 25, 2021, 11:13am UTC](https://forum.bubble.io/t/open-specific-number-of-repeating-group-cells/152923 "2021-05-25T11:13:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![adirco.digital](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@adirco.digital](https://forum.bubble.io/u/adirco.digital)\
**Post date:** [May 25, 2021, 11:13am UTC](https://forum.bubble.io/t/open-specific-number-of-repeating-group-cells/152923/1 "2021-05-25T11:13:00Z")

</div>

hi everyone, my problem is that I need to choose a specific number that opens the same number of cells in a repeating group.  
for example, if I choose the number 4, then 4 repeating-group-cells would open  
how can i do it?  
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:** [May 25, 2021, 11:29am UTC](https://forum.bubble.io/t/open-specific-number-of-repeating-group-cells/152923/2 "2021-05-25T11:29:06Z")

</div>

I assume this didn’t help?

> [@Number of cells repating gruops from spesifec number](http://forum.bubble.io/t/number-of-cells-repating-gruops-from-spesifec-number/152917):
>
> Hey, I tried to do a drop down with numbers of (1-5) and I want with the value of that drop down to make cells in that repeating group. for exmpale I chose 3 and there will be 3 cells in that repating gruop. How can I make it?

---

<div class="post-metadata">

**Author:** ![adirco.digital](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@adirco.digital](https://forum.bubble.io/u/adirco.digital)\
**Post date:** [May 25, 2021, 11:36am UTC](https://forum.bubble.io/t/open-specific-number-of-repeating-group-cells/152923/3 "2021-05-25T11:36:47Z")

</div>

actually no, if you might have another way to solve my problem i’d be thankful

---

<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:** [May 25, 2021, 12:08pm UTC](https://forum.bubble.io/t/open-specific-number-of-repeating-group-cells/152923/4 "2021-05-25T12:08:01Z")

</div>

Sorry to hear that suggestion didn’t meet your needs. If you can provide clarification about exactly what you are trying to accomplish, I’m sure someone will be able to point you in the right direction.

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [May 25, 2021, 12:25pm UTC](https://forum.bubble.io/t/open-specific-number-of-repeating-group-cells/152923/5 "2021-05-25T12:25:44Z")

</div>

It’s not entirely clear what your question is, or what the issue you’re having is here, so perhaps you can clarify in order to get a better answer…

If you’re asking (as you appear to be) how to display a specific number of items in a repeating group based on a selected number from a dropdown menu, then @mikeloc has already given you the answer to that (using :items until#).

If your question is more about changing the formatting of RGs based on the number of items in it, such as changing the cell width depending on the number of items, or the position of the RG on the page depending on the number of items etc. then the simplest and most ‘Bubble’ way to do it will be using multiple RGs and conditionals to display a certain one depending on the dropdown selection. Otherwise you might need to look at custom CSS or JS solutions.

As I said, if you can give some more clarification on the specific problem/issue then I’m sure someone can give more specific help.

---

<div class="post-metadata">

**Author:** ![adirco.digital](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@adirco.digital](https://forum.bubble.io/u/adirco.digital)\
**Post date:** [May 25, 2021, 12:37pm UTC](https://forum.bubble.io/t/open-specific-number-of-repeating-group-cells/152923/6 "2021-05-25T12:37:45Z")

</div>

ill try to make it clear  
i have a dropdown with numbers (1,2,3,4 and  
5) that says choose an amount of product that you want buy. then you have to choose a number and after that , according to the number that youve picked, the exact number of cells of choose the desire products would open.  
it doesnt Necessarily gotta be with a repeating group, thats only a solution that came up on my mind.  
hope I clarified myself successfully

---

<div class="post-metadata">

**Author:** ![adirco.digital](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@adirco.digital](https://forum.bubble.io/u/adirco.digital)\
**Post date:** [May 25, 2021, 12:40pm UTC](https://forum.bubble.io/t/open-specific-number-of-repeating-group-cells/152923/7 "2021-05-25T12:40:46Z")

</div>

for example, if someone wanna buy 3 products, then 3 cells of ‘choose the desire product’ would be shown to the customer

---

<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:** [August 3, 2021, 11:13am UTC](https://forum.bubble.io/t/open-specific-number-of-repeating-group-cells/152923/8 "2021-08-03T11:13:03Z")

</div>

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