Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 815
Michiel Avatar asked Feb 15 '26 06:02

Michiel


1 Answers

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

like image 54
Vishal Khialani Avatar answered Feb 19 '26 12:02

Vishal Khialani



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!