Gravity Forms

Gravity Forms is a powerful form-building plugin for WordPress that allows you to create complex forms with ease. Utilise Gravity Forms to enhance your workflows with real-time address verification.

Our plugin standardises and verifies AU, NZ and international addresses, email and phone in real-time using the below code.


Prerequisites

  1. Have Wordpress platform and Gravity Forms plugin installed or available oncloud.

  2. Have an active Loqate Harmony API Account. You can sign-up for free trial here.

Enabling Address, Phone and Email verification in Gravity Forms

Here is the actual working demo and actual code used. You can use this as a reference. You just need to supply the user and credential in the code.

Just copy the below code to your HTML Block component.

Set-up API Key and the above sample code in Gravity Forms

  1. You will need your Harmony API keys (see getting your api keys.)

  2. Your user will need domain (e.g. *.wpcomstaging.com) added to key. See (allowlisting domain)

Testing your Installation

You are now ready to test connectivity within your form.

Configuration of requests

You can still use all our API settings (featureOptions).

For example using:

See all Address featureOptions here for particular services.

Last updated