# How to filter a repeating group with a slider

**URL:** <https://forum.bubble.io/t/how-to-filter-a-repeating-group-with-a-slider/200367>\
**Category:** Need help\
**Created:** [April 4, 2022, 8:37am UTC](https://forum.bubble.io/t/how-to-filter-a-repeating-group-with-a-slider/200367 "2022-04-04T08:37:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom18](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@tom18](https://forum.bubble.io/u/tom18)\
**Post date:** [April 4, 2022, 8:37am UTC](https://forum.bubble.io/t/how-to-filter-a-repeating-group-with-a-slider/200367/1 "2022-04-04T08:37:08Z")

</div>

Hi there,

I’m trying to setup a range slider to filter a repeating group but struggling to figure out how to do it. I have a list of numbers in the database ranging between 1-1000. What I want to happen is when the slider is between two numbers (e.g. 200-500) I want that to filter the options in the repeating group between these two numbers.

 ![Range slider](https://us1.discourse-cdn.com/bubble/original/3X/0/8/087d325ade2cca036d9127fff79fe308739a6b54.png)

Any help would be much appreciated.

Many thanks,

---

<div class="post-metadata">

**Author:** ![gerbertdelangen](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gerbertdelangen/32/144602_2.png) [@gerbertdelangen](https://forum.bubble.io/u/gerbertdelangen)\
**Post date:** [April 4, 2022, 1:49pm UTC](https://forum.bubble.io/t/how-to-filter-a-repeating-group-with-a-slider/200367/2 "2022-04-04T13:49:20Z")

</div>

Hey Tom,

It is not very hard to set this up, see the example below:

1. Let’s use a datatype People (with a field Score type = number and a couple of other fields) and a page with the repeating group and a slider input.

**The data type:**

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

**The page:**

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/0/2/026f777c14e2c9aaf1c5964691e9c527dcba433e.png)

1. The repeating group is configured to filter based on the slider input values:

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

1. The slider input is configured to use min and max values of the values in the score field (note: you can also manually add min and max values):

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/0/9/0972b880d00e8b59c8934237daaaee465c08cd1e.png)

That is it, when you move the sliders, the repeating group will filter the results:

![chrome_37tJhMvr5m](https://us1.discourse-cdn.com/bubble/original/3X/3/8/382127c2e5cb04e4db278129dd9b77ba545892b0.gif)

---

<div class="post-metadata">

**Author:** ![tom18](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@tom18](https://forum.bubble.io/u/tom18)\
**Post date:** [April 4, 2022, 3:11pm UTC](https://forum.bubble.io/t/how-to-filter-a-repeating-group-with-a-slider/200367/3 "2022-04-04T15:11:26Z")

</div>

@gerbertdelangen Thank you very much that’s solved my issue. Very much appreciated!

---

<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:** [June 13, 2022, 8:37am UTC](https://forum.bubble.io/t/how-to-filter-a-repeating-group-with-a-slider/200367/4 "2022-06-13T08:37:52Z")

</div>

Closed on June 13, 2022, 8:37am UTC

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