Select item in opened drop-down list based on user entry

DKinsley

03-12-2018

I am using JavaScript to open a drop-down list of names during the enter event.

xfa.host.openList("this");

When the user enters the first few letters of the person's first name and only one name remains in the list, I want that name to be selected and populate that drop-down field when the user tabs out. I know the user could arrow down to their choice and then tab out but they prefer it to work the way I described. Is there a way to script that when only one item remains displayed and the user tabs out, that item is selected?

Thank you

Accepted Solutions (0)

Answers (0)