[Tips & Scripts] Google Address Autocomplete



Hey @mdrnmedia

Could you provide a link to the page you are using the script on?


I figured it out, thanks Kyle!


There is another simple way to get the auto complete as I have done for my website

function activatePlacesSearch(){
var input = document.getElementById('ID');
var autocomplete = new google.maps.places.Autocomplete(input);
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=API_KEY&libraries=places&callback=activatePlacesSearch"></script>


Hey @Noah - the script os working well except for the field width, which I can get to match the other field’s widths in the desktop version, but then the Mobile version’s field width is about a third wider than the other fields. How do I get the field width of the ADDRESS field to “snap” to to the same width of the other fields, on both desktop and mobile? Thanks! Steven.


Ok, I’m 99% sure I’ve followed instructions properly but I’m getting an error on the form.


Anybody feeling kind hearted enough to help me out :pray:


Hey Matt

Can you explain what the problems are… What’s not working?


I’m getting an error saying “this page isn’t loading google maps correctly”

When you try and fill out the first field it shows that error. https://www.amplifyhomebuyers.com/


On my form I have 2 forms fields “Pick up location” and “Destination”. This only allows me to place 1 autocomplete in my form field. Is there a way I can have 2?


Looking for specific help in this issue. Are there any specific community members who are able to help (even for a small price)? Cheers.


Hello NewBienz
Please let me know what do you want.
You can contact with me
skype id: sanjeevthakur0312