postio_
INTEGRATIONSWORDPRESSCONTACT FORM 7
ADD A CLASS PER FIELDFREE — CONTACT FORM 7

Contact Form 7.

Contact Form 7 has no address field, so you label yours. A couple of minutes per form.

Contact Form 7 builds forms from individual text fields and has no address field of its own, so there is nothing for the plugin to find. You tell it which field is which by adding a class to each one. After that it works exactly like the automatic builders.

SETUP

Three steps.

1

Install the Postio plugin from WordPress.org, activate it, and save your API key under Settings → Postio.

2

Open your form in Contact → Contact Forms and add a class to each address field, as in the example below.

3

Save the form and try it on your site.

EXAMPLE

A labelled form.

Copy this into your form and keep your own field names — only the class: parts 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]
Ask Postio
CLASSES

Which class goes where.

Only postio-line-1, on your first address line, is required. Add the others to the boxes you have and skip the rest. The Postio settings screen prints these for you once it spots Contact Form 7 on your site.

CLASSFIELDNOTES
postio-line-1Address line 1Required. Also works as the search box, unless you add postio-search.
postio-line-2Address line 2Optional.
postio-townTown or cityOptional.
postio-postcodePostcodeOptional.
postio-searchA separate search boxOptional. Gives customers a "find your address" box above the address fields.
WORTH KNOWING

Details.

Leave out the postio-search line if you would rather customers search from address line 1.

The Postio settings screen prints these classes for you once it spots Contact Form 7 on your site.

NEW IN 1.1.0

Type-ahead or postcode lookup.

You choose how customers find their address, in one setting for your whole site: Settings → Postio → How customers find their address. Type-ahead is the default.

Type-ahead search
DEFAULT

Customers type anything — a house number, a street, a postcode — and matching addresses appear as they type.

  • Suggestions update with every few letters.
  • They pick theirs and the whole address fills in.
  • You choose how many suggestions show at once (see below).

Cost: Searching is free. One lookup is charged when the customer picks an address.

Postcode lookup
NEW IN 1.1.0

Customers type their full postcode, such as BA2 4QT, and every address at that postcode drops down in a list.

  • The list shows how many addresses it found, for example "23 addresses at BA2 4QT".
  • Up to about 100 addresses, in a list that scrolls.
  • Half a postcode gets a gentle "Keep typing your full postcode" hint.

Cost: One lookup per postcode. Picking from the list costs nothing extra.

Not sure which to pick? See which suits your shop

Ready in under a minute.

Sign up, grab a key, paste it in. Your first hundred lookups are on us.