Michiel
Michiel

Reputation: 8083

Reset button in exposed forms in Drupal

I have an exposed form in Drupal and I want to add a simple 'reset' button so all filters will be reset and empty. I found a lot of documentation on D5 or D6, but not on D7.
I thought I'll add a button which links to the current page and by so, resetting all filters, but I'm not sure that's the right thing to do. Any advice?

Upvotes: 2

Views: 3570

Answers (1)

Vishal Khialani
Vishal Khialani

Reputation: 2587

If you are talking about views then go to

Exposed form >> settings >>

There is a check box for reset button. Check that and you should be done.

don't forget to save the view.

Cheers, vishal

Upvotes: 9

Related Questions