Setting Up Multiple Autocomplete Instances
Address Autocomplete Premium allows you to create multiple autocomplete instances, each with its own trigger field, data population rules, country restrictions, and page restrictions. The free version is limited to one instance.
What is an instance?
An instance is a single autocomplete configuration. For example, if you have a contact form on one page and a checkout form on another, you would create two separate instances — one for each form.
Each instance has its own:
- Label — A name for your reference in the admin (e.g., “Contact Form” or “Checkout Billing”)
- Initial field selector — The CSS selector of the address input that triggers autocomplete
- Data population fields — Which form fields get populated with address data
- Country restriction — Limit suggestions to specific countries
- Page restriction — Only load this instance on specific pages
Adding a new instance
Go to Settings > Address Autocomplete. You will see your existing instance(s) as tabs. Click the “+” tab to add a new instance.
Give the new instance a descriptive label so you can easily identify it later, then configure the initial field selector and data population fields just like you would for any instance. See Setting up an Address Autocomplete instance for details.
Switching between instances
Click the tab labels at the top of the settings page to switch between your configured instances.
Deleting an instance
Hover over the tab label for the instance you want to remove and click the X button that appears. The instance will be removed when you save your settings.
Tips
- Use page restrictions on each instance so the plugin only loads on the pages where it is actually needed. This reduces unnecessary Google API usage and improves page load times.
- One-click integrations (WooCommerce, EDD, Gravity Forms, etc.) automatically create and manage their own instances — you do not need to manually create instances for those.