-
BxClinicAsked on December 14, 2017 at 6:36 AM
Hi Guys,
What an amazing new feature the Google address auto-complete is - well done!
There is a bug, however, when populating the "City" field when using UK addresses. The city simply doesn't get put into the field. Here's a screencast illustrating the issue with a couple of addresses: http://take.ms/cAPpd
Hope that helps
As always, much respect - Jotform rocks!
James
Page URL: http://take.ms/cAPpd -
Ardian_LReplied on December 14, 2017 at 9:31 AM
Hi,
Thank you very much. I was able to replicate the issue for addresses in UK, I tried some addresses in other countries and it worked fine.
I have submitted the issue to our developers and you will be notified in this thread as soon as possible.
-
BxClinicReplied on December 14, 2017 at 9:35 AM
Thanks Ardian,
It may be a bit more complex than first imagined - here are a couple of other addresses in London which show odd behaviour: http://take.ms/W0SL4
Cheers
James
-
Ardian_LReplied on December 14, 2017 at 9:41 AM
Hi,
Thank you for adding the second link, I will append the second link to the request.
-
asil Jotform SupportReplied on December 15, 2017 at 7:51 AM
We are continuously improving our address behavior. There was a problem regarding address handling for Great Britain and it should be working now as expected.
-
BxClinicReplied on December 15, 2017 at 10:50 AM
Hi Asil,
Almost fixed! The County is now showing "England" and the Country is showing "United Kingdom" !! (County should be blank as they are no longer considered as a valid part of the address) : http://take.ms/rDKwz
Here's the correct way of formatting the address: http://take.ms/yxWvt
-
Ardian_LReplied on December 15, 2017 at 12:25 PM
I will ask again from the developers to check the functionality. In meanwhile you may hide the county field until this is fixed.
We are sorry for any inconvenience caused.
-
asil Jotform SupportReplied on December 18, 2017 at 8:18 AM
Hi James,
We are using Google's autocomplete API in our product to predict addresses. "State / Province" field, or "County" field in your form, is being used for first-order civil entity below the country level which is administrative_area_level_1 for Google Maps(You can find more information here). For your search term "12 Lord Nelson Drive", Google Maps returns following information.
Since "England" is returned as administrative_area_level_1, we are using that value in "State/Province" field. There are infinitely many different address types for countries so that we are relying purely on Google.
Sorry for any inconvenience, thank you.
-
BxClinicReplied on December 18, 2017 at 8:33 AM
Thanks for the explanation, Asil. I've had problems integrating Google's address autocomplete in the past - which is why we decided to use CraftyClicks instead for a different project. But I appreciate that the Google solution is free!
That said, the implementation seems to have been changed over the weekend. Look at this:
-
asil Jotform SupportReplied on December 18, 2017 at 8:53 AM
Hi James,
We are using Google to ensure that our users will get what they see at Maps without any hassle. Like CraftyClicks, Google's both autocomplete and maps API is paid for commercial usage.
For your question about city handling, there was a problem with it and it should be working correctly now.
Thank you.
-
BxClinicReplied on December 18, 2017 at 8:58 AM
Thanks Asil,
Unless it's a cache problem, it's not fixed - using the address I showed in the above screenshot, the City is not being autopopulated, the "County" is being put into the "City" field, and the "Country" (England) is being put into the "County" field!!!
-
asil Jotform SupportReplied on December 18, 2017 at 9:00 AM
It must be a cache problem. Can you delete cache and try again.
-
BxClinicReplied on December 18, 2017 at 9:20 AM
Yep, all sorted - thanks!
-
Ardian_LReplied on December 18, 2017 at 9:56 AM
In Behalf of my colleagues you are welcome, please let us know if you have any other question.