The Google Address field enables you to autocomplete address fields in WordPress forms.
The countries searched can be restricted and optionally filtered by business addresses. Furthermore the chosen address can also be shown on a WS Form Google Map field.
Demo
This demo is for the U.S. but the Google Address field can be localized to any country.
How It Works
When a user enters a partial address, the Google Places API shows suggested addresses. If an address is clicked, the components of the address are populated to other fields on your form. The Google Address field itself becomes Address Line 1 once the address is clicked.

You’ll find the country and business address restriction options in the Advanced tab of the field settings under the Restrictions section.
Setup
The Google Address field requires:
- A Google Cloud Project set up with billing enabled. (Create a Google Cloud Project).
- The following APIs enabled on the Google Cloud Project (Enabling an API in your Google Cloud Project)
- Maps JavaScript API
- Places API (New)
- Geocoding API
- An API key (Create Access Credentials)
To enter your API key into WS Form:
- Click Settings from the WS Form admin menu.