ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

"You did not submit a search term"

September 06, 2011 4:46am

Subscribe [3]
  • #1 / Sep 06, 2011 4:46am

    Hi all. I am just setting up my simple search. I have added the expression code to the form and I am receiving the EE error “You did not submit a search term” regardless if I have added a term or not.

    Here is my code:

    {exp:search:simple_form search_in="everywhere"}
    <input type="text" name="search_all" class="search_all" value="" />
    <input type="submit" value="Search" class="search_button"  />
    {/exp:search:simple_form}

    Can anyone see if I am doing something wrong here?

    Thanks

  • #2 / Sep 06, 2011 5:09am

    Lee Powell

    88 posts

    The ‘name’ for your input field is incorrect - it should be ‘keywords’ as so:

    {exp:search:simple_form search_in="everywhere"}
    <input type="text" name="keywords" class="keywords" value="" />
    <input type="submit" value="Search" class="search_button"  />
    {/exp:search:simple_form}
  • #3 / Sep 06, 2011 5:11am

    Thanks! 😊

  • #4 / Sep 06, 2011 12:26pm

    Kyle Cotter

    730 posts

    Thanks for the help here Lee. Is everything taken care of now Chris?

    Thanks!

  • #5 / Sep 06, 2011 12:35pm

    All sorted. Thanks

  • #6 / Sep 06, 2011 12:38pm

    Kyle Cotter

    730 posts

    Awesome!! If you have any more questions, feel free to open a new thread Chris.

    Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases