Google Places
Built-In

Google Places

Autocomplete addresses in forms in WordPress and map address details to other fields.

How to Autocomplete Addresses in Forms with Google Places

Speed up address entry with Google-powered autocomplete

The Google Address field lets you autocomplete address fields in forms in WordPress using the Google Places API. When someone enters a partial address, suggested addresses appear. After an address is selected, its components can populate other fields on your form.

You can map Google address components to Text, Text Area, Select, Google Address, and Google Map fields. The selected address can also center a WS Form Google Map field, with an optional zoom level.

The field includes restrictions for result type and country restrictions, with support for up to five countries. You can also filter results by businesses and use geolocation methods such as browser or IP to attempt to set the address to the user’s location.

  • Autocomplete addresses

    Show suggested addresses as users enter a partial address.

  • Map address components

    Populate other form fields with address components after an address is selected.

  • Restrict search results

    Limit results by type and country, and optionally filter by business addresses.

Real Customer Reviews

Trusted by thousands of WordPress professionals.

  • WS Form never lets me down. Beyond the amazing product, you benefit from an outstanding knowledge base and first-class support via email.

    mbarthel
  • WS Form is in a league of its own. The flexibility is unmatched, the functionality is exceptional, and the support team is responsive, knowledgeable, and dedicated to helping you succeed.

    brandonvogt
  • Everything I need, I have tried many form plugins and this one is the best in my 15 years online.

    wadsys

Frequently Asked Questions

How do I integrate WordPress with Google Places using WS Form?

Add your Google API key in WS Form settings under Advanced, then add a Google Address field to your form. Full setup details are available here: Google Address field guide.

What does the Google Address field do?

It autocompletes address fields. When a user enters a partial address, suggested addresses appear, and selecting one can populate other fields on your form.

Which fields can Google address components map to?

Google address components can be mapped to Text, Text Area, Select, Google Address, and Google Map fields.

Can the selected address update a map field?

Yes. You can choose a Google Map field to center with the selected address and optionally set a zoom level from 1 to 20.

Can I restrict which addresses appear in results?

Yes. You can restrict results by type and add country restrictions for up to five countries.

Does the Google Address field support geolocation?

Yes. Geolocation methods include None, Browser, and IP. You can also choose to geolocate when the field loads.

Get This Integration

  • WS Form Agency Edition Included Buy
  • WS Form Freelance Edition Included Buy
  • WS Form Personal Edition Included Buy
View WS Form Editions →

Built into WS Form PRO and available with every PRO edition.