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

Support archive

Search the results

Dave 26 May 2014 11:42 question, complete

Hi Low,

I have one form which searches in all my entries, using checkboxes for a radio-button field. It searches for entries in a different neighborhood.
I'd like to filter those results by "how long" an entry would take to visit ( in real life).
I'd like to use a second form which searches those first results.

Can you point me in the right direction on how to handle this:
Here is a piece of my code for two forms:

http://pastie.org/9218284

Thanks..

Dave

Replies

  1. Low 26 May 2014 12:10

    You should point both query="" params to {segment_3} as your result page is "main-templates/search".

    Then, in your second form, tell it to remember the parameters from the first query, using the remember="" parameter. So something like this:

    {exp:low_search:form 
    query="{segment_3}"
    result_page="main-templates/search"
    remember="search:wijk"
    }

  2. Dave 26 May 2014 12:25

    Thanks that works, but can i also use multiple remembers=""..

    for i'd like to use more than one field searches in the first form.
    for instance: is the entry for a boy or a girl

    Would that be like:

    remember="search:wijk | search:boy"

    or..."?

  3. Low 26 May 2014 12:41

    Yep, that's how the remember="" param works. Just don't add the spaces around the |.