How to add Google Places API

  • edweir
    Asked on March 8, 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...

  • KrisLei Jotform Support
    Replied on March 8, 2021 at 5: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  Screenshot 10

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

  • edweir
    Replied on March 8, 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?

  • Basil JotForm Support
    Replied on March 8, 2021 at 2: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.