Elementor Google Address Autocomplete

Optical Coders Address Autodetect Pro is a WordPress plugin that detects address fields and enables Google Places autocomplete for Elementor forms, contact forms, and dynamic forms to improve data accuracy and conversions.

Optical Coders Address Autodetect Pro

Optical Coders Address Autodetect Pro is a technical WordPress plugin that automatically detects address-like form inputs and enhances them with Google Places autocomplete across WordPress and Elementor environments.

System Overview

The plugin is designed to reduce manual address-field configuration by scanning form inputs using field labels, placeholders, IDs, and input names. When an address-like field is identified, Google Places autocomplete is attached automatically. This allows users to search and select valid addresses while improving input speed, consistency, and overall form completion quality.

The detection engine supports standard WordPress forms, Elementor forms, popup-driven interfaces, and dynamically injected form content. It also attempts to populate nearby related fields such as city, state, ZIP code, and country within the same form context.

Core Feature Set

  • Automatic detection of address-like input fields
  • Google Places autocomplete integration
  • Support for Elementor forms and popup forms
  • Support for dynamically loaded and AJAX-rendered forms
  • Automatic population of related fields such as city, state, ZIP, and country
  • Field-level opt-out controls for disabling autocomplete
  • Form-level exclusion controls for complex workflows
  • Optional hidden structured address fields for advanced implementations
  • Lightweight frontend loading approach with minimal configuration overhead

Detection Logic

Address detection is based on semantic pattern matching against field metadata. The plugin evaluates common address-related keywords across field attributes, including:

address
street
location
pickup
dropoff
moving from
moving to
origin
destination
service address

This makes the plugin suitable for contact forms, quote forms, moving forms, booking forms, service request forms, and any workflow that requires structured address entry.

Structured Address Output

When enabled, the plugin can generate hidden structured values in addition to visible field population. These values are useful for downstream logic, internal automation, reporting, and location-aware workflows.

oc_full_address
oc_lat
oc_lng
oc_place_id
oc_region
oc_service_area
oc_city_slug

Deployment Use Cases

Optical Coders Address Autodetect Pro is designed for production use across a wide range of business sites and form architectures, including:

  • Lead capture forms
  • Moving quote forms with origin and destination fields
  • Local service request forms
  • Booking and consultation forms
  • Checkout-related address capture interfaces
  • Popup and multi-step form flows

Technical Requirements

  • WordPress 5.8 or higher
  • PHP 7.4 or higher
  • Google Maps JavaScript API enabled
  • Google Places API enabled
  • API key configured with appropriate HTTP referrer restrictions

Implementation Summary

This plugin was built to remove friction from address entry, reduce manual field mapping, and provide a more intelligent address capture layer for modern WordPress websites. It balances automatic detection with administrator control, allowing autocomplete to be enabled broadly while still supporting exclusion rules for fields or forms that should remain manual.

Optical Coders Address Autodetect Pro is suitable for both technical and non-technical WordPress users who need a scalable, form-aware address autocomplete solution that works across standard pages, popups, and dynamic frontend environments.