Google Places Autocomplete
-
I’ve made a custom field for users place (Google Places API).
So when the user type “Pari” there’s a dropdown menu showing “Paris, France” and “Paris, Texas” (among others). I click “Paris, Texas” on the drop down menu.
So far so good.
But when I view the submitted post (with the auto-display content with the %%custom_value%% markup) it only returns “Pari” (or whatever I typed before clicking the dropdown menu).
I want the post to show “Paris, Texas”
PS. Outside the scope of this plugin; how would I have the “Paris, Texas” output the Place ID? That way it would be searcable with the Google maps API (I assume?).
The topic ‘Google Places Autocomplete’ is closed to new replies.