HOW TO: auto completion in text field

Hi i have a free text field (can be of any type that you suggest) and i have a list of words that i know the user would probably use.

is it possible to make an auto completion for that list when a key pressed (for example ctrl+space)?

thanks