I am using this code which I thought was right.

{exp:search:simple_form channel="work" search_in="everywhere" role="search" id="search-form"}
                  <label class="screen-reader-text" for="search">Search</label>
                  <input type="text" value="" name="s" id="search" title="Enter keyword">
                  <input type="submit" id="search-submit" title="Search it" value="→">

However I get an error (see attached). Does anyone have any ideas to what I am doing wrong in this case?

enter image description here


Only certain input fields are supported and if you're using keywords for example then you need to ensure that the name attribute is set:

<input type="text" name="keywords" id="keywords">

That should yield some results.

| improve this answer | |
  • Many thanks I will follow the documentation. – MarkerMaker Mar 29 '13 at 18:07
  • No problem, post back if you're stuck. Don't forget to mark the answer correct if it solved the issue. – Ian Mar 29 '13 at 19:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.