All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Search through multiple fields with the same text-input

Heiko 14 Jun 2014 11:37 question, complete

Hi there,

I'd like to search for anything contained in two or more fields, using a simple text-input. So, for example, if I searched for the term "english", I'd love to show all the entries that contain this term in any possible field.

Unfortunately this doesn't work:

<input type="search" name="search:member_language|search:member_skills" value="{low_search_keywords}" placeholder="Language, Skills">

Is it possible at all?

Replies

  1. Low 15 Jun 2014 20:34

    You can't using that syntax. But you could set up a collection that contains those two fields and use the Keywords filter instead.