"Enter Key" on Search bar, and Query question.

My search bar is attached to the header of all my site pages and works great, although I would like to add a few additional functionalities:

  1. Hit the enter key without having to keep the cursor in the textInput element.
  2. If text input is left blank or the user keys in text that is not found in the database, the resultsTable appears blank (from hidden on load), would like to display an error message that no items have been found.
  3. Sorting, I’d like to add two radio buttons to sort results from ascending to descending price. the ID for this field is ‘price’.
  4. Autocomplete within the textInput field, is that possible at all?

Help would be much appreciated!! :smiley: :smiley:

Bump, I’m also interested in the “enter key” feature

I am also very interested in this. Does someone have the code for this that I can learn from? Thank you!