15

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?

1
  • Yes Drupal 7...
    – Sam1604
    Commented Jan 29, 2015 at 12:32

1 Answer 1

37

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
  • 2
    The reset button appears only if you have made a choice and submitted the form. By default the button is not visible Commented Feb 25, 2020 at 22:58

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.