The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group
Google autocomplete address form
Hi:
I got my Google API Key (Maps JavaScript API and Places API Web Services). I am trying to add autocomplete feature to a form and followed the steps on the video in the following link:
I think I followed the steps exactly but I can't get it to work. I added the script from the following link and substituted my API Key towards the bottom of the script:
Your help will be greatly appreciated.
Fernando - http://www.Lypper.com
July 31, 2017 at 6:47 pm
Hey Fernando,
I've done this recently. It's not hard at all. Here's the step by step tutorial I used. Works like a charm.
http://www.wpbeginner.com/plugins/how-to-add-autocomplete-for-address-fields-in-wordpress/
Let me know if you need any help man!
August 1, 2017 at 7:21 am
Thanks, Robert. I will give that a try.
I wonder if it does the same thing as what's shown on the link below. It captures the fields separately in the database behind the scenes. I like the simpicity because I'm not using it as laid out on a typical contact form. For example, the user sees this as they enter the address:
601 East Broad Street, Richmond VA, United States
But the database is recording the following fields behind the scenes: Street address, City, State, Zip, Country.
https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform
Thanks
August 1, 2017 at 7:24 am
I think that's the same as the link I sent.
Good luck!
Discussion closed.