Forum Documentation Showcase Pricing Learn more

Help with checkbox filters

#1

Hi guys,
I am trying to use a checkbox to filter a repeating that a data field of type yes/no. How can I set the checkbox in a way that if checked only shows a set with Yes in database, but if unchecked shows both yes/no (all available options)

#2

use Conditional for RG

#3

hello again @lstk.kb I am sorry but I don’t seem to understand. What I’ve done was put in repeating group: do a search for Field 1 = checkbox 1 is checked. But when i go conditional and if I set When checkbox is unchecked, I dont seem to find anything that states to show all results

#4

I taught about using a custom state for the checkbox by stating if checked its value is yes, but if unchecked the value its nothing. You reckon this may work? And in the repeating group doasearchfor field 1 contains checkbox 1 value but even this I believe wont work

#5

#6

Do two searches for RG if checked or if not checked.

#7

Genius mate thanks one more time. Do you if theres anyway to make checkbox’s more visualy atractive?

#8

I use icons

03-16-57-10

1 Like
#9

Alright, great idea. I came across something where I have more than one checkbox. So in the conditional If I have two, Does it mean I have to create extra conditions that implies both? Like when A is checked and B is checked do a search for where type A is and Type B is Yes.

#10

I came up with the solution that takes 8 conditionals in my case, and it could be useful for other people.
I have 3 checkboxes which represent data fields of value yes/no. So in order for the rg to work properly all I had to do was to create 8 conditionals. Why? All the possible combitions between the 3 so theres no data leftout of rg. It equals to 2^3. And conditionals would go when checkbox A is checked and Checkbox B is checked and Checkbox C is checked, then do search for “whatever applies to you”. @lstk.kb what you think?