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

Support archive

Showing the search query form and enabling search refining

Jim Riley 18 Jul 2012 16:14 question, complete

is it possible to display the search form that has been submitted on a search results page?

would be nice for users to be reminded what they searched for - and perhaps to have the option to refine/resubmit their search query directly from the search results page?

Jim

Replies

  1. Low 18 Jul 2012 16:28

    It definitely is. Use the query="" parameter with the low_search:form tag to feed it the search details. Then use variables and conditionals to re-fill the form elements.

    Take a look at this site, which uses Low Search. It uses a simple search form, which then shows the results plus a "refine results" form (click to open). They use a hidden input field to re-fill the keywords, so the form basically functions as the same query, but more refined.

  2. Jason Boothman 17 Apr 2014 19:20

    If I can chime in here I'm wondering if you can give a little more details on how exactly to do this.

    For example - how can I display all collections (using checkboxes), but only check the ones that were included in the search. Or display a drop down on sort order, but have the one currently being used selected.