I created a content type and View with Filter Criteria for my project, when I click the Search it shows the appropriate results.

But there is no option to clear the Search Fields and redirected to previous page (View).

In my requirement I need to keep a [clear/cancel] button with [search] button.

How to add [clear/cancel] button with [search] button in View?

  • Yes Drupal 7... – Sam1604 Jan 29 '15 at 12:32

Go to you view and Exposed form style settings. (You can find it right side Advanced settings of the view)

enter image description here

and check the 'Include reset button' option . You can also change the Reset button label. Find below.

enter image description here

  • 1
    The reset button appears only if you have made a choice and submitted the form. By default the button is not visible – Sébastien Gicquel Feb 25 '20 at 22:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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