Autocomplete saves hidden value

autocomplete is 90% done, saves correct values in visible and hidden,
but does not search