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

Support archive

How to hide search results in embedded template until submit is pressed?

Jonathan Vance 24 Sep 2014 16:50 question, complete

How do I prevent search results in an embedded template from displaying until user actually clicks submit?

When I follow a link to my search form page, which uses an embedded template to display search results, search results display as soon as the page loads, before submit is clicked. These results are not filtered. I don't want to see results until submit is actually clicked.

When I select my filters and click submit, filtered search results display as expected.

Replies

  1. Low 24 Sep 2014 17:57

    Try adding require_query="yes" to the Results tag.

  2. Jonathan Vance 24 Sep 2014 18:09

    Yes, that did it! Thanks!