0151 355 4555

Contact Form 7 Data Validation Plugin

Our extension for the Contact Form 7 Wordpress plugin enhances the user experience when filling in their details with PredictiveAddress and detailed email validation and telephone number validation to ensure you get correct details to use when comunicating with your customers.

Installation

To get started, download our extension file.

  1. Upload the plugin files to the wp-content/plugins/contact-form-7/includes directory
  2. Activate the plugin through the Plugins screen in Wordpress
  3. Use the Settings link on the Plugins screen to configure the plugin
  4. Enter your Data8 username and password and click Save

Usage

Any email or tel field will be automatically validated. By default, MX level email validation is used and standard international telephone validation is used, with UK being the default country for telephone numbers entered without an explicit country code.

The email validation level can be changed using the level option, e.g.:
[email* your-email level:Address]

Advanced landline and mobile validation can enabled using:
[tel* your-tel mobile:true landline:true]

The default country code for telephone numbers can be changed using:
[tel* your-tel country:US]

Text fields used for address data entry can be converted to use PredictiveAddress by including the following class names:

[text add1 class:d8pa_search class:d8pa_line1]
[text add2 class:d8pa_line2]
[text town class:d8pa_town]
[text county class:d8pa_county]
[text postcode class:d8pa_postcode]
[text country class:d8pa:country]

  • d8pa_search converts the text box into a PredictiveAddress search box. It can also have one of the other options below to store part of the final address in the same box once an address is selected
  • d8pa_linex stores a line of the final address in the text box, where x is a number between 1 and 6
  • d8pa_town stores the town name in the text box
  • d8pa_county stores the county name in the text box
  • d8pa_postcode stores the postcode in the text box
  • d8pa_country stores the country in the text box

Trial

Test out our email and telephone validation and PredictiveAddress services below and quickly set up a free trial. When you set up your trial you'll receive the username and password you can use in the installation step 2 above.