postio_
ADD A CLASS PER FIELDFREE — NINJA FORMS

Ninja Forms.

Ninja Forms has no address field, so you label yours. A couple of minutes per form.

Ninja Forms has no address field type, so there is nothing for the plugin to find on its own. You add a CSS class to each of your address fields and the plugin takes it from there.

SETUP

Three steps.

1

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

2

Add Single Line Text fields to your form for line 1, line 2, town and postcode.

3

Open each field, go to Display → Element Class, and enter the matching class from the table below.

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 Ninja Forms 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.

The class goes in Display → Element Class, not in the field label or key.

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.