

Google address suggestions under the street address field of a contact form.
Address Autocomplete Anything adds Google’s address suggestions to any form on your WordPress site. Someone starts typing their street address, picks the right one from the list, and the rest of the address fills itself in: city, state, ZIP or postal code, and country. Your customers type less, and you get addresses spelled the way the post office spells them.
I first built it for my photography plugin, Sunshine Photo Cart, then realized it could work with anything that has an address field (hence the name). Checkout pages, donation forms, membership sign ups, booking forms and contact forms all work, because it isn’t tied to any one plugin.
See how it works on the Address Autocomplete website
In the settings, choose the page with your form and click “Pick fields”. The plugin opens your form in a new tab, finds the address fields and tags each one as the street address, city, state, ZIP or country. Check the tags, click Done, and the fields show up on the settings page, ready to save. You don’t need to write any code or dig through your page’s HTML.
If your form is in a popup or on the second step of a multi-step form, pause the picker, open the popup or go to that step, then carry on picking. If you’re comfortable with CSS selectors, you can still type them in yourself. How to find your CSS selectors
You need a Google Maps API key with the Maps JavaScript API and Places API (New) turned on. A setup wizard walks you through it the first time you turn on the plugin, and the Test key button checks your key with Google. If something is wrong, like billing that isn’t set up or an API that isn’t turned on, it tells you in plain words what to fix.
Google asks for billing details, but every account gets 10,000 free autocomplete requests a month, which is more than most sites will ever use. More on what Google charges
The free version sets up autocomplete on one form. Address Autocomplete Premium adds:
Learn more about Address Autocomplete Premium
Google Maps Platform. The address suggestions come from Google. On the pages you choose, the plugin loads Google’s Maps JavaScript API with your API key. As a visitor types into the address field, what they type goes to Google, which sends back matching addresses. The Test key button also sends your API key to Google to check it. Google’s terms of service and privacy policy apply.
WP Sunshine email list. The setup wizard offers to sign you up for emails about the plugin. When you click “Sign up and continue”, the plugin sends the first name and email you entered, plus your site’s time zone, to wpsunshine.com. Nothing is sent if you skip that step. See the WP Sunshine privacy policy.