text-autocomplete, is there a way to force the user to use only values it has found?

I have an autocomplete text field that looks up employee names, stores the employee id number in the db field. But I want to force the user to only be able to use valid values that exist in the lookup table