8 Replies Latest reply on May 20, 2008 8:19 AM by Ned Murphy

    Submit query on Enter key press

    Stefan83 Level 1

      I have a 'search the archive' search bar and submit button I am working with which works well. The user can type a keyword and click the 'submit' button to submit the search query. However, I'm trying to attach a script to the input text field so that the user can hit enter on the keyboard to submit the query without having to click the 'submit' button. I think I may need to use the 'on (keyPress "<Enter>")' script but I'm not sure and I don't know how attach it. Can anyone help? Below is the code that is attached to the submit button.

      Thanks in advance