Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

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

DKinsley
Level 9
Level 9

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

0 Replies