I created a view page with exposed filters in a block. I have three exposed filters in a view, with apply and reset button for each one.

It shows results based on the filters. It is working fine. But I need these filters each having its own reset button and reset all button resetting all three.

Can it be done through views? Should I handle through code? If so where I need to write the code?

1 Answer 1


This following post has a nice hook_alter function that adds a reset button to exposed filters on views. It lists both code for 6 and 7.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.