Forums › Forums › Search & Filter Pro › Incorrect filtering using checkboxes and radio buttons together
Tagged: checkboxes, incorect display, Radio Buttons
- This topic has 5 replies, 2 voices, and was last updated 4 years, 4 months ago by Trevor.
-
Anonymous(Private) July 2, 2020 at 9:41 am #251079
Hello. In our webiste on a filters page represents checkboxes and radio buttons but they works incorrect.
With enable certain radio and checkbox buttons displayed wrong products.
We are using custom wordpress theme. Filtering by custom taxonomies.Display results method: Post Type Archives
And set to true “Enable filtering on Taxonomy Archives”Only its all fine when reload the page – then results is correct.
Trevor(Private) July 2, 2020 at 1:20 pm #251140Are you able to send me a live link/URL to your search page so I can take a look?
Can you suggest a search for me to make that gives incorrect results, and tell me what is wrong with those results (what is missing, or what is showing that should not be)?
Trevor(Private) July 2, 2020 at 4:56 pm #251211Ah, I understand. I suspect that the code that outputs the results does not have a structure that copes with an Ajax refresh. When an Ajax refresh happens under these circumstances, where there would be no results, the previous results stay on the page. The only way to fix this, other than recoding the template that outputs the results, is to do the following to stop someone selecting a no results search:
In the General settings tab of the form:
Set
Auto Count
(both settings) toON
And then in the Form UI:
In each field set
Hide Empty
toON
-
AuthorPosts