Skip to main content
Send Us Your Form, and  We’ll Convert It Into an Online Form  For Free.

Google Maps (Address Autocomplete)

Connect your own Google Places API key to HIPAAtizer to turn on address autocomplete in your forms. As a respondent types a street address into the Address component, a dropdown suggests matching addresses. Picking one fills in the street, city, state, ZIP code and country automatically.

The respondent's browser never talks to Google directly. HIPAAtizer's server sends the search to Google with your key and returns the suggestions to the form. Google bills the usage to your own Google Cloud billing account, not to HIPAAtizer.

In the dashboard the integration is called Google Maps, and the key field is called Google Places API Key.


Before you start​

You need:

  • A Google account with access to the Google Cloud Console.
  • A billing account linked to your Google Cloud project.
  • Access to Integrations in your HIPAAtizer account.
Billing is required

Google requires billing to be set up before you can use the Places API, even if you only use the free tier. Google offers a generous free usage allowance, but you may be charged if your usage goes over it. See Google Places API pricing and usage limits.


Part A: Create the API key in Google Cloud​

Step 1: Create a Google Cloud project​

  1. Go to the Google Cloud Console and sign in with your Google account if prompted.
  2. Click the project dropdown at the top of the page and select New Project.
  3. Name your project, for example HIPAAtizer Integration, and click Create.

Step 2: Enable billing on your project​

  1. In the Google Cloud Console, open Billing from the left-hand menu, or search for it.
  2. Click Link a Billing Account, or Set up billing if you don't have one yet.
  3. Follow the prompts to link or create a billing account.

You won't be charged unless your usage goes over the free tier.

Step 3: Enable the Places API​

  1. Make sure your new project is selected in the top menu.
  2. Go to APIs & Services → Library.
  3. Search for Places API.
  4. Select Places API and click Enable.

Step 4: Create your API key​

  1. Go to APIs & Services → Credentials.
  2. Click + Create Credentials and choose API key.
  3. Click the copy icon to copy the new key.
  1. On the Credentials page, click the name of your new API key.
  2. Under Application restrictions, select IP addresses.
  3. Click Add and enter 54.173.11.166, then click Done.
  4. Under API restrictions, select Restrict key.
  5. From the dropdown, choose Places API.
  6. Click Save.
Use an IP address restriction, not a website restriction

Your key is used by HIPAAtizer's server, not by your website or the respondent's browser. If you restrict the key to Websites (HTTP referrers), Google blocks every request and no suggestions appear. Restrict it to the IP address above instead.


Part B: Connect the key in HIPAAtizer​

Step 6: Add the API key to HIPAAtizer​

  1. In the HIPAAtizer dashboard, go to Integrations → Integrated Accounts → Google Maps.
  2. Paste your key into the Google Places API Key field.
  3. Click Authenticate your Google Maps Account.

To disconnect later, remove the integration on the same page.


Part C: Turn on autocomplete in a form​

Autocomplete works on the Address component only.

  1. Open the form in the Form Builder and add an Address component, or select an existing one.
  2. In the component settings, switch on Enable Address Autocomplete.
  3. In Countries, select the countries to search in. This is required, and you can choose up to 5. Suggestions are limited to these countries.
  4. Save the component and publish the form.

If Google Maps isn't connected, Enable Address Autocomplete is greyed out, and its tooltip says it requires the Google Maps API integration.

Test on the published form

Autocomplete doesn't work inside the Form Builder: the address field shows Autocomplete is not available in the editor. Test on the published form or its preview link.


How it works for respondents​

  • Suggestions appear after the respondent types 5 characters of the street address.
  • Picking a suggestion fills in the address fields. They all stay editable afterwards.
  • If the browser fills in the address itself (browser autofill), HIPAAtizer doesn't search Google.
  • The Address component saves the same parts with or without autocomplete. See Using Address in other parts of the form for the variables.

Troubleshooting​

Enable Address Autocomplete is greyed out. Google Maps isn't connected to your account. Complete Part B.

No suggestions appear. Type at least 5 characters, and test on the published form, not in the Form Builder.

No suggestions appear on the live form. Check that:

  • billing is enabled on your Google Cloud project (Step 2);
  • the Places API is enabled (Step 3);
  • the key is restricted by IP address, not by website (Step 5);
  • Places API is included in the key's API restrictions.

Suggestions come from the wrong country. Edit the Countries list on the Address component.

Unexpected Google charges. Your usage went over Google's free allowance. Review usage and quotas in the Google Cloud Console, and set a budget alert.


Need help? Contact support@hipaatizer.com.