[Autocomplete] Problem Inserting Additional Data into the Query
[Autocomplete] Problem Inserting Additional Data into the Query
Hi Guys. I have an inputfield, where I start a autocomplete. The Data Comes from geonames. I also have an additional field, where I have sudden countries. Now i try to change the search parameter depending on this select field, that geonames only gives results of places in this country. Below you'll find my code and an example. I hope you understood, what i want. SIMPLY:
Select a Country (e.g. France) -> Autocomplete (I will not find London, New York or Berlin, but Paris, Toulouse,...)