Skip Navigation

[Resolved] View > Filter > hidden check boxes become visible when another one is clicked

This thread is resolved. Here is a description of the problem and solution.

Problem: I have chosen "Only show available options for each input" in this custom search View, but some checkboxes that produce no results are displayed when one of their sibling checkboxes is checked.

Solution: The filter seems to have become misconfigured and should be recreated. In the Search and Pagination panel of the View editor screen, delete the checkboxes filter control. Next, delete its corresponding Query Filter, then recreate the filter control in Search and Pagination.

This support ticket is created 4 years, 8 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.

Our next available supporter will start replying to tickets in about 6.71 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 8 replies, has 3 voices.

Last updated by stefanP-4 4 years, 7 months ago.

Assisted by: Christian Cox.

Author
Posts
#1568213
cat+check.JPG
cat.JPG
all.JPG

I am trying to make a filter for a view. The filter consists of a select list (categories) and a checkbox group (checkbox group in types). I have set "Show only available options for each input" checkboxes: hide.

It works so far:
Link: hidden link
Image: all.jpg

If I change to a category in the select list that does not contain all checkboxes, it still works.
Link: hidden link
Image: cat.jpg

Now the problem. If I now click on a checkbox all other checkboxes become visible, even those that have no content.:
link: hidden link
Image: cat+check.jpg

I hope you can help me, i should go online in a few days.
By the way, this is my first project with toolset types, views, CRED and I love it!

#1568493

Hello, can you take screenshots of this View's Query Filter settings in wp-admin so I can see how things are configured for your custom search?

#1569535
1.JPG
2.JPG
3.JPG

Hello Christian, i´ve made screenshots and i can also send you admin access but i don´t know how.

I´ve also used some javascript but also without the javascript it´s the same.

#1569733

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Stefan,

Christian is currently unavailable today but will be back tomorrow to continue working through this with you. Based on your screenshots that you've provided your settings are correct for what you want to acheive.

However your filters have some amount of custom styling. Is there any Javascript involved in the filters or are they purely css filters.

Secondly if you remove all the customizations from the filter does it work as intended?

Thanks,
Shane

#1569763
s1.JPG
s2.JPG

Hi Shane,
the filters are purely css.

I´ve also made 2 new screenshots where i switched the theme to "Twenty Sixteen" and removed my custom js.

Still the same problem.

Can you please tell me where i can insert admin-access but only you can see it?

Thanks
Steve

#1570999

Hi, you can find private reply fields for supplying credentials securely in your next reply. Sorry for bouncing you around among supporters.

#1571023

Hello Christian, when I click on "I still need assistance" I only have a text area for Reply. Can I email you the credentials?

But I will give you more information:
I have already made a website-backup and duplicated the view.
Link to the view in the backend: hidden link
Link to the view in the frontend: hidden link

#1572629
Screen Shot 2020-04-02 at 2.59.38 PM.png

Okay I have made some changes on the test View and it seems to be working correctly now. Basically I removed the firmenkategorie filter control and deleted the firmenkategorie filter. Then I recreated the firmenkategorie filter control, and the system created a new corresponding Query Filter. Please check the View now. If I select the Finanzen & Bereitung taxonomy term, then check the checkbox Kundenverkehr, I only see 2 results and one other checkbox. The other checkboxes that produce no results are hidden.

Can you confirm?
hidden link

#1573519

Hi Cristian,
thank you so much, it works!

Maybe this can help other customers:
I did the same. I deleted both filters -> saved -> created 1st Filter -> saved -> created 2nd filter -> saved -> worked 🙂

My issue is resolved now. Thank you!