Drupal 7 – Use Checkboxes for Exposed Taxonomy Term filter in views

Drupa 7 Views renders exposed taxonomy term filters as either a select box / drop-down or an auto-complete. This may not be the best option especially if you allow the user to select multiple terms to filter with. So is there any way to render these filters as check-boxes instead? Well the bad news that you can’t by default, but the good news is that there is a module called Better Exposed Filters which allows you to do it easily!


To switch the filter to checkboxes, first install the module. Then make sure that your filters are exposed in block form – to do this open the ‘Advanced’ section in views and under ‘EXPOSED FORM’ set ‘Exposed form in block:’ to yes. Now change the ‘Exposed form style:’ setting to ‘Better Exposed Filters’ and then edit its settings by clicking on the ‘BEF Settings’ link.


drupal views exposed filter checkbox


In this screen find you taxonomy filter and in a select box like this ‘Display “tid” exposed filter as’ change the value to ‘Checkboxes/Radio Buttons’.


Now once you save your view the term filters should be rendered as check boxes!


drupal views taxonomy term exposed filter checkbox