Add autocomplete functionality to simple string fields