- BxClinicAsked on December 14, 2017 at 06:36 AM
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!
- JotForm SupportArdian_LAnswered on December 14, 2017 at 09:31 AM
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.
- BxClinicAnswered on December 14, 2017 at 09:35 AM
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
- JotForm SupportArdian_LAnswered on December 14, 2017 at 09:41 AM
Thank you for adding the second link, I will append the second link to the request.
- JotForm DeveloperasilAnswered on December 15, 2017 at 07: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.
- BxClinicAnswered on December 15, 2017 at 10:50 AM
- JotForm SupportArdian_LAnswered 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.
- JotForm DeveloperasilAnswered on December 18, 2017 at 08:18 AM
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.
- BxClinicAnswered on December 18, 2017 at 08: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:
- JotForm DeveloperasilAnswered on December 18, 2017 at 08:53 AM
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.
- BxClinicAnswered on December 18, 2017 at 08:58 AM
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!!!
- JotForm DeveloperasilAnswered on December 18, 2017 at 09:00 AM
It must be a cache problem. Can you delete cache and try again.
- BxClinicAnswered on December 18, 2017 at 09:20 AM
Yep, all sorted - thanks!
- JotForm SupportArdian_LAnswered on December 18, 2017 at 09:56 AM
In Behalf of my colleagues you are welcome, please let us know if you have any other question.