I am using a submission form with an autocomplete field. A problem that users are running into is that when they type in text and press "enter", the first item of the autocomplete menu is submitted instead of whatever text they have typed in. If the mouse is moved over another item of the autocomplete dropdown and "enter" is pressed or the mouse if clicked, that item will be selected - which works well. But... is possible to not automatically highlight the first item of the autocomplete field so that if "enter" is pressed, the text they have typed in will be submitted, instead of the first item of the autocomplete field?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
davidhshugar
Hello,
I am using a submission form with an autocomplete field. A problem that users are running into is that when they type in text and press "enter", the first item of the autocomplete menu is submitted instead of whatever text they have typed in. If the mouse is moved over another item of the autocomplete dropdown and "enter" is pressed or the mouse if clicked, that item will be selected - which works well. But... is possible to not automatically highlight the first item of the autocomplete field so that if "enter" is pressed, the text they have typed in will be submitted, instead of the first item of the autocomplete field?
-David
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.