0

I'm trying to have a search filter that searches on 2 values and works with autocomplete list.

This is what I've done:

  • Installed the module Views filters populate.
  • added two filters "CNK" and "Naam" (both not exposed) and added them to a OR filter group. I used the operator "Contains any word" for both fields.
  • Created a filter "Global: populate filters", added the two fields into this and exposed it.

My filter criteria looks like this:

enter image description here

But I don't have the option for autocomplete. How can I do this the best way?

1 Answer 1

2

You can use Views autocomplete filter module to have auto-complete feature on views exposed filters.

It works for node titles or cck text fields.

The autocomplete results are actually the view results, so they are view related.

Check out this Demo video.

4
  • I'm using the views autocomplete filter but it doesn't work on the global: populate filters. It doesn't show the option autocomplete.
    – nielsv
    May 28, 2014 at 16:12
  • follow this post, :) drupal.org/node/451000
    – shrish
    May 28, 2014 at 16:23
  • and also this, drupal.stackexchange.com/questions/42726/…
    – shrish
    May 28, 2014 at 16:24
  • I've done the steps in the last link you gave me (as you can see in my topic) but I don't have an autocomplete option on my global filter that selects the other 2 fields ... I need autocomplete on that field ..
    – nielsv
    May 30, 2014 at 7:05

Your Answer

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

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