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

Support archive

Low Search Docs

Niall O'Brien 14 Jul 2014 13:25 problem, rejected

Please update your docs to state that the ID of the form input must be "keywords". I've wasted a lot of time on such a simple issue. Thank you.

Replies

  1. Low 14 Jul 2014 13:33

    Well, if you're using the keywords filter, which not everyone needs, then you need the keywords-parameter, ie. an input field with name="keywords" (not an ID), as stated in how parameters work in Low Search and as presented in the keywords search form example.

    I'm sorry your time was wasted. How would you suggest I improve the docs to illustrate the principle?

  2. Niall O'Brien 14 Jul 2014 13:54

    Yeah, I updated the name and ID to "keywords". I've been primarily working from http://gotolow.com/addons/low-search/... and there was no mention of this requirement there. Perhaps some cross-linking would help in this instance?

    Thanks in advance.

  3. Low 14 Jul 2014 14:15

    The id="" attribute has no effect on the workings of Low Search at all. It's just used to associate <label>s and <input>s to each other, which is standard HTML/frontend functionality.

    When using forms, always use the name="" attribute on input/select/textarea elements to pass the values to the server. The example that comes first on the page of the Form tag you linked actually has name="keywords" right there.

    But I guess mentioning/linking to the Parameters and Filters pages at the top can be useful.