Streaming live at 10am (PST)

Is it possible to press "Enter" on the keyboard to trigger the search button?

I would like to remove the search button and is it possible to submit the search input by pressing “Enter” on the keyboard? Does Webflow supports this natively or it requires custom code?

What search button do you mean? Do you have a share link?

If I can take a look at your project, I can help you better.

You could trigger it with Javascript.

$(function() {
  $('inputfield').on('keypress', function(e){
    if(e.keyCode == '13'){
      // enter pressed

Thanks @ElviraNL for the help!

1 Like

Glad I could help. You’re welcome.

Where do you place this? In the before ? or somewhere else?

@Emmanuel_Kaska In the before indeed.