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?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With