I have some additional Google Maps functionality throughout my site and the plugin is causing the Maps API script to get loaded twice which is causing issues. On the pages where I have my other maps I do not have any forms, so I’m not sure why the plugin would be loading the script on those pages. Is there an easy way to make it so that the plugin will only load the Maps API script on pages where it’s necessary (pages with forms which have an address field with the “Enable Autocomplete with Google Places API” option enabled)?
]]>Our client clicked this address, but it was not processed correctly. Got these screenshots below:
1- Clicked the address – Screenshot 01 – https://ibb.co/qdSrJRw
2- The address was not processed correctly (it used 3 K Leti?ti instead of K Leti?ti 1804/3 and Country was not selected) and ZIP code was added to the City box instead. – Screenshot 02 – https://ibb.co/mCqjsyX
Thanks,
Navin
]]>Hello I am using gravity forms and I collect address in separate fields because they go to google sheet.
Address, city, state and zip
I noticed that these fields now have the option to “Enable auto complete with google API” and if I turn it on is all 4 fields, the first one “street address” is filled up with the full address and the other fields (City, state and zip) are not.
I can use the field type “address” and they all the sub fields are filled up correctly, however, when I get the information via email and it goes to google sheet, the address is not in 4 separate fields. Also on google sheet the address was not there like any other fields.
For me I can use either 4 fields that can be fully filled up with the city state and zip, or have one field only that allow us to use the Custom Sub-Label as independent fields to be added in our google sheet with address, city, state and zip in 4 separated columns.
Thank you
Sandro Herek
]]>it work on pc version, but dose not work on mobile version, please help me
]]>I have installed the plugin added the API Key. I am getting a line of exclamation point icons when I type anything into the address field in a form using Stripe Payment Add-On. It works with non-payment forms.
Is there a compatibility issue with creating a payment form using the Stripe Add-On?
]]>I want to have the address data fill into all the fields on my Step 2 page. The problem is it will not let me send a query string unless I have all of the address fields showing, not just single line address.
Is there a way for me to style the form so I can “hide” the extra fields in the address so I can still show just single line on my landing page, but still send the query string so it populates the full address on the next form?
Forms reference: (Address Top) to > (Top Form)
Link to screenshots:
https://drive.google.com/drive/folders/1xdpLwKKI3XNj_1cZyXE0exbdTQdhUf3X?usp=sharin
Hello there,
It seems like there might be an issue with the latest version of the plugin. When we use the autocomplete suggestion on our form it’s adding the State in the City field. Here is a quick video overview of the issue – https://s.skybox1.com/v/McpYeq
]]>Hi Kaisar,
With the latest update I am getting this error in the console and the form no longer loads on the page:
Uncaught TypeError: Cannot read properties of undefined (reading 'Autocomplete')
at String.<anonymous> (map_data.js?ver=1.3.1:54:51)
at Function.each (jquery.js:3:5257)
at HTMLDocument.<anonymous> (map_data.js?ver=1.3.1:14:8)
at HTMLDocument.dispatch (jquery.js:3:28337)
at v.handle (jquery.js:3:25042)
at Object.trigger (jquery.js:3:27423)
at HTMLDocument.<anonymous> (jquery.js:4:3107)
at Function.each (jquery.js:3:5257)
at init.each (jquery.js:3:2013)
at init.trigger (jquery.js:4:3083)
The call throwing this error is in map_data.js line 54
var autocomplete = new google.maps.places.Autocomplete(
document.getElementById(inputFull),
{
options,
}
);
I’ve found if I revert the &loading=async
addition on line 31 in class-frontend.php then the forms work again including address autofill.
Any thoughts on why this might be? Or anyone else having issues?
]]>I am experiencing a compatibility issue with the Gravity Forms Address Autocomplete plugin when using forms that have conditional logic enabled.
Steps to Reproduce
Observations
Anyone else having this issue? I’ve confirmed it is an issue on two different websites. Any guidance or updates to the plugin that address this problem would be greatly appreciated!
]]>Hi,
I’d like to add the following functionality:
Is this possible?
thanks:-)
]]>Hi,
I have it autosuggesting in the Street address 1 field (part of the GF address field). However when I select a suggesting, if populates all results into Street Address 1, rather than zip, county, country. Is there a trick to getting this part to work?
Thanks
]]>Hi,
I tried Google Places (new) API but it didnt work however Google Places API does. Is this correct and are there any plans to work with Google Places (new) API?
Thanks
]]>On this page, once the space is entered on the street address field, it jumps to the top of the page and shows some other fields data. We don’t see this issue on the other forms are not using your plugin.
https://prnt.sc/tjC1F06XHFZj
Please advise
Is it possible to change how the address info is pulled from Google’s API? We need the street number and the street separately, which Google’s API has the capability to provide but out of the box this plugin just puts it all on the Street line. Any way to modify the plugin to do this and save it separately?
]]>Is it possible to return only the City, State and Zip Code, separated by the pipe character, instead of the full address?
]]>Hello there,
Thank you for your plugin,
I believed I set up everything correctly regarding the MAPS api but i have an error with this image :
https://maps.gstatic.com/mapfiles/api-3/images/icon_error.png”
What is it means?
Thanks!
]]>Getting this error on my form.
Stops appearing when desactivating the autocomplete address feature or desactivating the plugin
Loading the Google Maps JavaScript API without a callback is not supported: https://developers.google.com/maps/documentation/javascript/url-params#required_parameters
]]>In a popup a autofill address field is not working using gravity forms
]]>hello –
For some reason, the maps api is no longer working on a site. Getting the error “This page can’t load Google Maps correctly.” Wondering if it is an issue with google? FYI it’s January 1st, so who knows.. Are others having this issue?
]]>In a future release, can you add an option in the admin to use the short_name in the State/Region/Province field? Right now it uses the long_name from Google Places API.
Thanks.
]]>hi so auto complete plugin works only on desk top not mobile
]]>Ho do I enable multiple form support for 1 page? Currently, Google locations suggestion only works on 1 form and I have 3 sitting on the same page with the same ID. I’m using GF 2.6.4 and GF Address Autocomplete version 4.0.
Thanks
]]>Anyone else having this problem? maybe because I have a lot of Address fields, I get a console error with nested form field using autocomplete.
]]>I enable google api in two different gravity form. dropdown supported only one form.
]]>Hi,
I have this issue in my console :
scripts.js?ver=9 h 49 min:153
Uncaught TypeError: Cannot read properties of undefined (reading 'split')
at HTMLLIElement.<anonymous> (scripts.js?ver=9 h 49 min:153:86)
at Function.each (jquery.min.js?ver=3.6.0:2:3003)
at s.fn.init.each (jquery.min.js?ver=3.6.0:2:1481)
at initAutocomplete (scripts.js?ver=9 h 49 min:122:39)
at scripts.js?ver=9 h 49 min:4:9
at dispatch (jquery.min.js?ver=3.6.0:2:43064)
at v.handle (jquery.min.js?ver=3.6.0:2:41048)
Could you help me ? I don’t find any answer for this issue.
Thanks
in file gf-google-address-autocomplete/gf-auto-address-complete.php
note grvityforms is missing an “a”
is it meant to be this way?
If you need this, for countries like Australia where we mainly use the abbreviation of the state names like NSW.
file gf-google-address-autocomplete/js/map_data.js
around line 80.
case "administrative_area_level_1":
state = val.split(' ').map(function(item){return item[0]}).join('').toUpperCase();
break;
]]>
It’s annoying to get results from countries on the other side of the world prioritised over nearby locations. If there’s an easier way to solve this I’d like to know.
change gf-google-address-autocomplete/js/map_data.js
line 36
add an option near API key to let us input a country code. Or maybe let us input free text to add to the options.
var autocomplete = new google.maps.places.Autocomplete(
document.getElementById(inputFull),
{
types: ["geocode"],
componentRestrictions: {country: 'AU'},
}
);
]]>
Hi Kaiser,
Thank you for the awesome plugin, very helpful to us!
Could you please incorporate this Github
Into the plugin – this makes Google Autocomplete compatible with Gravity Wiz Populate Anything,
Thank you!
]]>Love the improved user experience this provides. However, there is a bad experience issue when the browser’s built-in auto-complete overlaps the Google address complete. So you get 2 menus that appear, the browser menu on top of the Google address complete menu.
Is there any way to disable the browser’s option from appearing just on the address fields?
Obviously, this will vary from the different browsers.
Thanks for taking the time to review and respond.
]]>