Autocomplete: handling paste into a textbox

Autocomplete: handling paste into a textbox

Greetings,
 
I have the AutoComplete plugin working just great. When the user types in a value, a dropdown opens up. if the user selects one of the dropdown values it is selected and additional controls are populated with associated data.
 
However, there something that I would like to add. When a user pastes a value (CTRL+V) into the textbox that has the AutoComplete set I would like to be able to validate if the pasted value is indeed a valid value.
 
If it is a a valid value I would like it to behave as if it was selected from the dropdown: set it as the selected value and populate the additional controls with other associated data elements (similar to what's happening now when a valid selection is picked from the dropdown from the textbox).
 
Thanks,
Robert