Autocompleted Address widget: City Field is not being filled up when Zipcode is provided

  • Profile Image
    P3LifeTrials
    Asked on February 28, 2020 at 09:06 AM

    Hi,

    the autocomplete address widget does not fill city field automatically for cities in Brazil. Any suggestion?


    Regards,


    Paulo

  • Profile Image
    AshtonP
    Answered on February 28, 2020 at 12:18 PM

    I have just checked your form and the widget you have for address seems to be working, please see this screen-cast: 

    158291011611.gif

    Could you please provide us more details of which cities you are trying to add so that we can investigate.

    We will be waiting for your response.

    Regards.

  • Profile Image
    IvayloK
    Answered on February 28, 2020 at 03:43 PM

    I tested the form with your zip codes and it works. Please refer to the attachment.

    15829216192300.gif

    If the issue still persists, can you please try to use a different browser?

    Let us know if you need any further assistance.

  • Profile Image
    P3LifeTrials
    Answered on February 29, 2020 at 08:32 AM

    Excuse me but your test showed that it is not working...City filed was not completed.

  • Profile Image
    AshtonP
    Answered on February 29, 2020 at 09:33 AM

    Sorry for the confusion!

    I think it is the system default that City and Zipcode work vice-versa. However, I am escalating this to our developers to further look into this. Please be noted we can not provide any time frame for this rest be assured we will notify you here once there is an update.

    Regards.

  • Profile Image
    hayk
    Answered on March 04, 2020 at 04:19 AM

    Hi P3LifeTrials,

    We are sorry for the inconvenience caused to you. We use the "Place Autocomplete" service of the Google Maps Platform and I can say the issue comes from their side. We get data and show the result. The city field is responsible for the result of the "locality" component and there is not the mentioned component in the returned data in these cases. Also in some countries cities are also states/counties and they don't have a "locality" component flag in the database.

    You can also test how it works on their platform, the result is the same: https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform. We will update the widget if there will be any change. Thank you for understanding.

    1583312861Screenshot55.png