Contact Form 7.
CF7 has no address field, so you tag yours. Two minutes, once per form.
Contact Form 7 builds forms from individual tags and has no concept of an address field, so there is nothing for the plugin to detect. You tell it which of your fields are which by adding a class to each tag. Once tagged, it behaves exactly like the automatic builders.
Three steps.
Install the Postio plugin, activate it, and save your API key under Settings → Postio.
Open your form, go to Additional Settings and add: html_class: postio-form
Add a class to each address tag, as below.
A tagged form.
Copy this into your form and change the field names to whatever you already use — only the classes matter.
[text* your-name] [email* your-email] [text address-search class:postio-search placeholder "Start typing your address"] [text line1 class:postio-line-1] [text line2 class:postio-line-2] [text town class:postio-town] [text postcode class:postio-postcode]
What to tag.
Only postio-line-1is required. Everything else is optional — tag the fields you have and leave out the ones you don't.
| CLASS | FIELD | NOTES |
|---|---|---|
| postio-line-1 | Address line 1 | Required. Doubles as the search box unless you add postio-search. |
| postio-line-2 | Address line 2 | Optional. |
| postio-town | Town or city | Optional. |
| postio-postcode | Postcode | Optional. |
| postio-search | Separate lookup box | Optional. Add this if you want a dedicated "start typing" field above the address. |
Details.
The html_class on the form itself is what lets the plugin find the form at all — without it, the field classes do nothing.
Leave out the postio-search tag if you would rather line 1 doubled as the search box.
Using something else?
UK address lookup on the block and classic checkout, plus My Account addresses. No configuration.
Every Address field on every form, wired automatically.
Automatic on WPForms Pro. On WPForms Lite, two minutes with CSS classes.
Native Address field, free core, wired automatically.
Native Address field with sub-inputs, free, wired automatically.
No address field in Ninja Forms, so you tag yours. Two minutes, once per form.
Elementor Pro only. Tag your fields with CSS classes and you are done.
Ready in under a minute.
Sign up, grab a key, paste it in. Your first hundred lookups are on us.