Some of my Views have many filters exposed. I would like to display some filters and have a "Show more filter" button, to display the other filters. I couldn't find any option in the Views to do this.

How to reduce the exposed filters of a View page ?

For example :

In the View page below, I want to display only the "Address" filter and the "Apply" button. I want the other filters to be collapsed.

A modern website must absolutely offer this type of display, to make the user experience intuitive and ergonomic.

enter image description here

  • 1
    You implement this yourself. For example with CSS or JavaScript. Maybe the Better Exposed Filters module offers that option already. But I doubt that. Filters are individual and so are the designs.
    – leymannx
    Nov 19 at 12:36
  • 1
    I vote to close the question, there are too many ways to do this. In addition to @leymannx suggestions the most basic Drupal way would be a form alter hook grouping the fields in a structured build array. Off-topic here, but you can also find modules like drupal.org/project/views_exposed_groups, even if only a dev version is available the risk is very low for such minor cosmetic changes.
    – 4uk4
    Nov 19 at 15:55


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.