Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Gabe Shackle

    (@hereswhatidid)

    That’s standard behavior for the jQuery Autocomplete plugin. It only offers suggestions to the user as they’re typing in a field. If the user doesn’t select a value from the Autocomplete drop down the field behaves like a normal text input field.

    Thread Starter Kai Niermann

    (@joloshop)

    is there a way to change this?

    Plugin Author Gabe Shackle

    (@hereswhatidid)

    You would have to disable the search form’s action. Either that or create a custom form within your theme and simply doesn’t submit to anything then target that input field within the Autocomplete plugin’s settings.

    Thread Starter Kai Niermann

    (@joloshop)

    not my day, just cant get it to work its still searching 🙁
    Tryed ist with a custom form, how are you do it?

    Plugin Author Gabe Shackle

    (@hereswhatidid)

    One way to disable the form submission using jQuery would be something like this:

    $( "form" ).submit(function( event ) {
      event.preventDefault();
    });
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘search problem’ is closed to new replies.