How to filter a repeating group with a slider

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.

Any help would be much appreciated.

Many thanks,

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

The page:

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

  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):

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

chrome_37tJhMvr5m

2 Likes

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

1 Like

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