Views Required Filter Input

Categories

Component ID

2743425

Component name

Views Required Filter Input

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

207

Component created

Component changed

Component body

Description

Adds a new global contextual Views filter that makes at least one exposed filter value required before displaying results. The check performed is an isset however, there is an option to use PHP's empty check in the filter's settings form.

Why?

Why not just use View's "Input required"? I frequently use Better Exposed Filters or Views ExPost and can't combine the two exposed form styles. This option is added as a global contextual filter.

How to use

Create a view with exposed filters, click "Add" under the Contextual Filter, select "Required filter input".