Data8 Validation

Description

Verify international postal addresses, email addresses, names and telephone numbers as they are entered at the point of capture. This plugin works perfectly with WordPress, WooCommerce, Gravity Forms and Contact Form 7 forms.

International coverage for all services, the most advanced fuzzy matching and backed by official data from sources such as USPS and Royal Mail ensures you can rely on the data being entered.

Improve your user experience with fast, natural address entry.

Ensure you capture accurate contact details and eliminate spam contacts by verifying email addresses, names and telephone numbers in real-time.

Quick to set up with a free trial. This extension is free of charge, just pay for the credits you use for our validation services.

WooCommerce

The Data8 PredictiveAddress service is automatically applied to all address entry forms in WooCommerce, including billing and shipping addresses on checkout and in the “My Account” section.
Data8 Validation will be applied to the name, email and telephone fields during the checkout process.

Gravity Forms

The Data8 PredictiveAddress service is automatically applied to all Address fields
The Data8 Email Validation service is automatically applied to all Email fields
The Data8 International Telephone Validation service is automatically applied to all Phone fields
The Data8 Unusable Name service is automatically applied to all name fields

Contact Form 7

The Data8 PredictiveAddress service is automatically applied to all correctly tagged Address fields
The Data8 Email Validation service is automatically applied to all correctly tagged Email fields
The Data8 International Telephone Validation service is automatically applied to all correctly tagged Phone fields
The Data8 Unusable Name service is automatically applied to all correctly tagged name fields

Screenshots

  • Configuration screen
  • Contact Form 7 validation
  • Gravity Forms validation
  • PredictiveAddress in action
  • PredictiveAddress in action
  • PredictiveAddress in action
  • PredictiveAddress in action

Installation

  1. Upload the plugin files to the /wp-content/plugins/data8-validation-for-contact-form-7 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 Api key and select the validation options you wish to enable.
  5. If enabled, Email, International Telephone and Unusable Name validation will be applied to all relevant fields
  6. If enabled, PredictiveAddress will attach to any forms with address fields set up as described on the settings screen.

FAQ

How do I change the email validation level?

On the plugin configuration page, enable the Email validation option by selecting a level at which to validate email fields. Fields of type ’email’ in Gravity Forms and Contact Form 7 will be automatically validated. To gain further control over individual elements, the level of validation can be overridden as follows:

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

In Gravity Forms, the email validation level can be changed by adding a “d8level_Address” CSS class to the Custom CSS Class setting.

The following are valid email validation levels:

  • Syntax – validates the syntax of the email address (lowest)
  • MX – validates the domain name (right hand part) the email address (default)
  • Server – validates the mail servers for the domain are alive
  • Address – validates the full email address (highest)
How do I use the full Data8 Mobile and Landline verification services?

On the plugin configuration page, first enable the International Telephone validation option. The UK Landline or Mobile validation services can then be enabled globally by enabling the respective options below. The appropriate validation will be applied to any ‘tel’ fields. You will need credits for the Data8 Mobile Validation service or Live Number Testing service (UK Landline) to use these options. For further control, you can enable the use of these extra services on individual elements as follows:

In Gravity Forms, add the “d8mobile” and “d8landline” CSS classes to the Custom CSS Class setting.

In Contact Form 7, use the “mobile” and “landline” tags:
[tel* your-tel mobile:true landline:true]

This will provide full number validation for international mobile numbers and UK landline numbers.

How do I enter international telephone numbers?

The International Telephone Validation service will validate the entered number using the rules appropriate for the country indicated in the telephone number using standard international dialling rules. For example, if a number is entered with a “+1” or “001” prefix, it will be validated as a US number, or if “+44” or “0044” is used it will be validated as a UK number.

If no international prefix is specified, it will be validated according to the rules for a default country. This will normally be UK, but can be changed as follows:

In Gravity Forms, add the “d8country_XX” CSS class to the Custom CSS Class setting, e.g. d8country_US

In Contact Form 7, use the “country” tag, e.g.:
[tel* your-tel country:US]

Contributors & Developers

“Data8 Validation” is open source software. The following people have contributed to this plugin.

Contributors

“Data8 Validation” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Data8 Validation” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0

  • Initial release!

1.1

  • Fixed “Fatal error: Cannot use object of type stdClass as array” errors

1.2

  • Fixed use of telephone validation without email validation

1.3

  • Fixed syntax error on PHP 5.3

1.4

  • Added support for WooCommerce and Gravity Forms

1.5

  • Added support for SalaciousName to Gravity Forms & Contact Forms 7
  • Moved the setting page to it’s own page

1.6

  • Added AllowedPrefixes & BarredPrefixes parameters to Tel Val

2.0

  • Updated configuration page to a more user-friendly interface
  • Changed configuration to give the user more control over which validation services to use
  • Added validation on name fields using Data8 Unusable Name validation

2.1

  • Fixed application of advanced telephone validation options & defaults

2.2

  • Fixed application of advanced telephone validation options in Gravity Forms and WooCommerce