Checkbox yes/no - states - not working correctly HELP

Hello everyone!

I am trying to build a search and encountering an issue

i have two properties i added - one has wifi and one doesn’t
both based in london

So the checkbox isn’t working properly same as search not working properly

As if wifi/internet is unchecked, I should be able to see all properties
and if checked, should be only the one that has wifi/internet (yes)

Really need help as I am not sure what’s going on…

Also when in search and i click wifi/internet yes, the search results change
but if i uncheck - search results don’t change back!

Instead of using a Do when condition, you should use, Input value has changed to trigger your workflow. In the condition, just use the same that you already have (Is checked, Isn’t checked)

1 Like

where do i find this please

I just managed to figure it out and results change when i change checkbox’s value

but how would I do it if I want all listings (ones in chosen location) to be shown when wifi / internet is unchecked?

1 Like

You need so select the correct filter that apply to your case.
If your Internet field is a Yes/no field, you can just use in RG the value of the checkbox input to filter data correctly. You don’t need a workflow for that (or state)

It doesn’t seem to work


here is the search page you can try march for example, london - and it doesn’t show anything when box unchecked or when checked and unchecked, shows only 1 propety

Try to select “Ignore empty constraints”
Also, be sure that other filter you have is not the reason why you are not getting more results.

it works at first when you didn’t input checkbox’s value, but if you check and then uncheck internet, it stops working and only shows one search which doesn’t have wifi (but it should show all listings with and without wifi)

both unchecked and shows both results (before you start clicking checboxes)

second photo - results when checking and unchecking

Inspect in debug mode the RG value and filter. It may help you find what is causing this


so when value is empty, it shows all listings with wifi and without

but when checkeding and unchecking the box, value becomes no and it shows only one listing

I am not sure what to do about it as search should be showing the value of the box as empty ? when empty and not no? and show all listings

It’s hard to compare because your screenshot doesn’t have the same date in filters.
Also,
you can set default value of checkbox to false (or true depending of what you want).

when empty

when no

Just to be sure. Do you wan’t when the checkbox is unchecked to show both wifi and not, ot unchecked should only be no wifi?

I want all results ( both with wifi and no wifi) to be shown if chekbox wifi/internet isn’t checked

Ok. this is different.
When you have a checkbox and no initial setting, it will be “empty”. The filter will ignore it so both will be returned. That’s fine. When you check it, the value will be “yes”, when you uncheck it, value will not be empty, il will be “no”. So this create an issue in your case.

So in RG, in your Data source, remove totally the filter for wifi internet.
In conditionnal tab, add a new condition: If wifi internet checkbox is checked.
Change the data source to now include wifi internet filter = yes

2 Likes

OMG it works now!

thank you sooo much! It really messed with my brain today!

1 Like

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