Forums Forums Search & Filter Pro Collapsible Forms

Viewing 1 post (of 1 total)
  • Anonymous
    #19355

    Collapsing can sometimes be accomplished using CSS and link-state with pseudo classes.

    Can you be more specific on exactly what you want to collapse?

    For example, on a filter form I’ve built, we have hierarchical categories as checkboxes, and needed the child categories checkboxes to only show if the parent category checkbox is checked.

    You can see as example of that here (this is a stage/development site so this link may not be active past July):

    http://www.betabai.com/deals/

    If you click in any of the checkboxes in the Filter By Location or Filter By Resort, you’ll see the CSS-based collapsing in effect.

    However, in order to do this, I did have to hack the code slightly. I do know that Ross said he was taking this need into account in the next version, and will hopefully provide an easy setting/option for this, but if this type of solution will suit your needs, then in this post I explain how I did this:

    https://support.searchandfilter.com/forums/topic/hide-child-taxomony-in-hierarchical/

    I hope this helps – you may be able to find a javascript solution that won’t require hacking the plugin, but I needed a non-javascript solution.

Viewing 1 post (of 1 total)