Description
Add Google-powered address suggestions to Gravity Forms. Use the included single-line Address field or enable autocomplete on Gravity Forms’ native Address field to help visitors enter addresses with less typing.
Features
- Dedicated single-line Address field.
- Autocomplete and autofill for the native Address field.
- Country restrictions: up to five countries per field.
- Result types: addresses, cities, establishments and more.
- Per-field suggestion language.
- Location bias by point and radius or rectangular bounds.
- Global language and region preferences.
- Required suggestion selection with a custom alert message.
- Support for AJAX forms, conditional fields and entry editing.
- Open saved single-line addresses in Google Maps from entry details.
Two ways to collect an address
The dedicated Address field collects a complete address in one input. Prefer separate address components? Enable autocomplete on the native Address field to fill available street, city, state/region, postal code and country values after a visitor selects a suggestion.
Customize suggestions
Choose countries, place types and language for each field. Prioritize suggestions near a point or within map bounds. Location bias and the global region preference influence results; country restrictions limit which countries can appear.
Require a suggestion selection
Optionally require visitors to choose an address suggestion. Manually typed, unselected text is cleared, and your custom alert prompts them to select a suggestion. This is not postal address validation or a deliverability guarantee.
Google API requirements
A Google Maps API key is required for address autocomplete to work. Follow this tutorial to create your Google Maps API key.
Google Maps Platform terms | Google privacy policy
Need more than autocomplete?
Gravity Geolocation offers paid packages for interactive maps, geocoding, coordinates, current-location detection, directions, distance calculations, address validation and drawing tools. Feature availability depends on the package.
Gravity Search turns Gravity Forms entries into searchable directories and listings, with filters, proximity search and map displays.
These are separate plugins, not features unlocked inside this free plugin by entering a license.
Explore packages and pricing | Try the live demos | Read the documentation
Installation
- Install and activate Gravity Forms 2.10.3 or newer.
- Install and activate this plugin. Deactivate any other Gravity Geolocation package first.
- Enable Maps JavaScript API and Places API (New) in your Google Cloud project. Open Forms > Settings > Address Autocomplete and configure your browser API key.
- Add a custom Address field, or enable autocomplete on a native Address field in its Address Autocomplete tab.
- Save the form and test selecting a suggestion on the front end.
The overview is available under Forms > Address Autocomplete. If Gravity Forms is unavailable, the overview appears under Settings instead.
FAQ
Which fields support address autocomplete?
You can enable address autocomplete on the plugin’s custom single-line Address field or Gravity Forms’ native multi-part Address field.
Are all the autocomplete controls included free?
Yes! All the address autocomplete controls described above are included in the free plugin.
Can I customize the address suggestions?
Yes! You can limit suggestions to selected countries, choose the types of places to suggest, and prioritize suggestions around a location or area. You can also set a default language and choose a different language for individual fields.
Can I require visitors to select an address suggestion?
Yes! You can require visitors to choose an address from the suggestions and customize the message that guides them to make a selection. Visitors can retry after unselected text is cleared, or enter addresses manually when this option is off.
Can I open a submitted address on a map?
Yes! The dedicated single-line Address field includes an Open Map link on the entry detail page so you can open the saved address in Google Maps.
Does manual typing validate or geocode an address?
Selecting a Google suggestion fills the address field with the details Google returns. Manually typed text is saved as entered. For address verification and standardization, see Gravity Geolocation’s paid Address Validation solution.
How do I switch to the premium plugin?
Deactivate the free plugin when switching to Gravity Geolocation or Gravity Search. Your saved fields and settings stay in place. If both are active, the free plugin pauses its integrations and shows an administrator notice.
Is a plugin account or license required?
You can use the plugin without creating a plugin account or buying a license. You’ll need your own Google Cloud account and browser API key for Google’s address suggestions.
Where can developers find the source code?
Readable JavaScript and SCSS sources are included in the plugin. The full development project, build configuration and dependency lockfile are available on GitHub. To rebuild assets, download the repository, install Node.js/npm, then run npm ci and npm run build (esbuild and Sass). These tools are not required to use the plugin.
Includes Choices.js 11.1.0, MIT licensed; readable distribution: assets/js/editor/vendor/choices.js; license: assets/licenses/choices.txt.
Screenshots







Changelog
1.0.1
- Renamed the plugin to Logical Address Autocomplete for Gravity Forms. The existing plugin slug and saved settings are unchanged.
- Refreshed the overview navigation and action buttons, aligned discovery-card buttons, and placed admin notices below the navigation.
- Added four editor-only discovery buttons for Map, Directions, Distance & Travel Time, and Address Validation in the separate Gravity Geolocation plugin. These buttons do not insert fields.
- Organized the overview into a contained dashboard folder without changing autocomplete behavior.
1.0.0
- Initial release.
