Google Address FieldPRO

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.

WS Form - Google Address - Field Mapping

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:

To enter your API key into WS Form:

  1. Click Settings from the WS Form admin menu.