16

I have created a view with exposed filters of term select list. How can I make the select list to work directly on selecting an item, instead of clicking on the "Apply" button?

3 Answers 3

26

Under advanced portion of view choose following

**Exposed form**

 Exposed form style: Basic | Settings 

Then Choose autosubmit in Settings as shown below

enter image description here

This will hide the Apply button and the select list to work directly on selecting an item, instead of clicking on the Apply button.

12
  • I just configured as mentioned above, but now the filter is invisible. I use Views: 7.x-3.5 and BEF: 7.x-3.0-beta3
    – AnAnD
    Mar 15, 2013 at 6:24
  • you mean exposed filter? please recheck. The above solution works here properly Mar 15, 2013 at 6:27
  • Yes, exposed filter is invisible
    – AnAnD
    Mar 15, 2013 at 6:34
  • 1
    yes it is available without better exposed filter also. i updated the answer Mar 15, 2013 at 6:47
  • 3
    Is there a solution for this problem in drupal 8? There doesn't seem to be an autosubmit checkbox and a hide submit button checkbox. Thanks.
    – cwiggo
    Mar 22, 2016 at 13:37
3

For Drupal 8/9, You need the following module: https://www.drupal.org/project/views_autosubmit

1
  • thank you! You da man Apr 20, 2021 at 18:40
0

If you're using Drupal 8. Choose Exposed form style as Autosubmit and then in Settings check Hide submit button checkbox.

enter image description here

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.