Problem:
How can I ensure to require at least one option to be selected in a Custom Filter Search on the Front End?
Solution:
What you can do, is use Custom JS for example and show the entire results only if the user actually checked at least one box.
It's not possible within Toolset using native functions.
Relevant Documentation:
https://stackoverflow.com/questions/901712/how-to-check-whether-a-checkbox-is-checked-in-jquery
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)
This topic contains 1 reply, has 2 voices.
Last updated by 6 years, 11 months ago.
Assisted by: Beda.