You are viewing beta documentation for Formie 4.x.
Address Providers

Google Places

Use Google Places Autocomplete (opens new window) to use their service to suggest addresses.

Step 1. Create the Integration

  1. Navigate to FormieSettingsAddress Providers.
  2. Click the New Integration button.
  3. Select Google Places as the Integration Provider.

Step 2. Connect to the Google Places API

  1. Go to the Google Cloud Platform Console.
  2. Click the Select a project button. Either create a new project, or select an existing one.
  3. Select Credentials from the left side menu, and click + Create Credentials, selecting API Key.
  4. From the left side menu, select Library.
  5. From the list of APIs enable both Places API and Maps JavaScript API.
    • If using the Show Current Location Button setting for your field, also add Geocoding API.

Step 3. Field Setting

  1. Go to the form you want to enable this integration on.
  2. Add an Address field to your form.
  3. Enable the Auto-Complete sub-field option.
  4. Select Google Places for the Auto-Complete Integration.

You can also provide Options (opens new window) in the table field. The value content must be valid JSON, so ensure you encase strings in " characters. For example, the below might restrict suggested addresses to Australia.

OptionValue
componentRestrictions{ "country": "au" }
requestedRegion"au"