0

I have a view with some exposed filters.When selecting first exposed filter,I want to appear the Number of the view results without having submitting the view.Same thing for second exposed filter etc. I have seen this to other sites and I am not sure how to do this with drupal. thanks

5
  • Do you want to show the result count with exposed filter? Sep 27, 2013 at 5:16
  • Yep that's correct
    – Dion
    Sep 27, 2013 at 7:21
  • Then you can use drupal.org/project/search_api module for the same. Sep 27, 2013 at 8:20
  • I know search api,I want the number of results to be returned without submitting the form
    – Dion
    Sep 27, 2013 at 13:38
  • You can create views for search api and create facet search to display number of results. Sep 27, 2013 at 18:01

1 Answer 1

0

How about triggering ajax call on key-press of that input field. In the ajax callback programatically call the view to get total count of results populate this count in field.

2
  • This does not answer the question. Perhaps you could add detail and let the OP know how to do what you are proposing.
    – Triskelion
    Sep 26, 2013 at 22:56
  • Not appropriate detail.
    – WaQaR Ali
    May 5, 2016 at 7:44

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.