Skip Navigation

[Resolved] Filter by checkboxes

This support ticket is created 3 years, 3 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by henriqueD 3 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#1912593

Hello, how are you?

I am using views to display content on my website.

However, I need to filter by values that are in a checkbox type field (multiple values).

I managed to display the values of the checks on the screen, but I don't know how to filter.

What do I put in the filters part?

This is the link to the reference (look at the location that is marked as "Características Extras"
hidden link

I looked in the forum, but I didn't find where to do that.

Can you help me please?

PS: sorry for my english, it's google translator.

#1912809

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share access details first so I can review how exactly you configured your custom search with checkboxes field?

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#1913371

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I see with your checkboxes custom field, you set the option "Quando desmarcado, salvar 0 no banco de dados" and we have known issue with that.

The workaround is, i've changed the option to "Quando desmarcado, não salvar nada no banco de dados". See screenshot:
=> hidden link

Then edit your all 5 posts for post type " Imóveis" and click on update button, and I can see now its filtering the results.

Can you please confirm it works as expected: hidden link

#1913799

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.