How to add Google Places API

  • Profile Image
    edweir
    Asked on March 08, 2021 at 12:51 AM

    Part of my form is adding previous doctors and hospitals. Am I able to add Google Places API restricting to doctors/hospitals...in order for patient to start typing and then Places can autocomplete the rest...

  • Profile Image
    KrisLei
    Answered on March 08, 2021 at 05:18 AM

    Hello,

    You may use the Autocompleted Address widget on your form: How-to-add-a-widget-to-your-form.

    Please note that the Google APIs are enabled for your Google Maps API keys:

    1615198664_6045f9c8dfc67_

    Please let do get back to us if you need further assistance. Thank you.

  • Profile Image
    edweir
    Answered on March 08, 2021 at 11:06 AM

    Thank you! You guys are AWESOME!! I really appreciate all the help.

    I tried that solution at first but I was looking for something more. However, I think the first solution might actually be better. But now I have another problem. I need patients to add their apartment number too. But there is no field to add apartment number on that autocomplete address. How can I add that in the same field area?

  • Profile Image
    Basil_A
    Answered on March 08, 2021 at 02:41 PM

    Hi,

    There is a house number option within the widget, but there is no option to add an apartment number.

    You can try adding a separate field where the users can add their apartment numbers.

    Please let us know if you have any further questions.