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

Slack Signup
Newsletter Optin
Help Desk

Google autocomplete address form

Labels

This Discussion is public

Notifications

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:

https://gist.githubusercontent.com/CarlVanderLaan/1b08de8e8262d31407f4d6fa53e7d90e/raw/84418727d45faf459bd3f45d53e100f90a8cf91c/Google%2520Autocomplete%2520Address%2520Form%2520for%2520Formidable

Your help will be greatly appreciated.

Fernando - http://www.Lypper.com

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!

 

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

I think that's the same as the link I sent.

Good luck!

Discussion closed.