Skip Navigation

[Closed] Make custom checkboxes that show results BETWEEN certain values

This support ticket is created 8 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Beda 8 years, 5 months ago.

Assisted by: Beda.

Author
Posts
#344915
Knipsel.JPG

Hello,

Can I use checkboxes to let the customer filter BETWEEN certain values?

Right now it shows up as single values:
8
11
13
14
16
25

But I want it to show up as
1 to 10
10 to 20
20 to 30

#345002
Query Filter.png
Filter Editor.png

Thank you for contacting us here in the Support Forum

You can use the operators as you see in the screenshot (I assume you use a Custom Field of type "Checkboxes")

It's possible to get results IN, equal, greater/lower than, greater/lower or equal than [...]

Once you set up that filter you can also head to the Views Query Options and set the Query Filter to what you see in my screen shot.

Then, you can check 2 Checkboxes (let's say 1 and 6) on the front end and it will render only the "in between" values.

Please do not hesitate to open a new thread if other issues or problems arise

Thank you for your patience.

The topic ‘[Closed] Make custom checkboxes that show results BETWEEN certain values’ is closed to new replies.