Our plugin for WordPress supports the following features:
- Phone Validation
- Email Validation
- Unusable Name Validation
WordPress Plugin Compatibility
Our WordPress plugin integrates with Contact Form 7, Gravity Forms or WooCommerce forms to apply real-time validation to your forms.
The following versions have been tested for compatibility:
|WordPress||PHP||Contact Form 7||WooCommerce||Gravity Forms|
|5.8 beta rc2||7.4.21||5.4.1||5.3.0||18.104.22.168|
To install the Data8 WordPress plugin, log in to the admin area of your WordPress site (/wp-admin). From the left side menu select 'Plugins', and then at the top of the new screen, 'Add New'. Find the Data8 Validation plugin from the WordPress marketplace. Follow the installation wizard ('Install Now' button) to get the plugin installed on your site.
On the plugins page of the admin area, you should now see the Data8 Validation plugin. From here you can activate and then configure the settings to suit your individual needs.
Should you ever wish to uninstall the Data8 WordPress Plugin, either 'De-activate' (for temporary removal), or 'Delete' it from the 'Plugins' page on the admin area of your site.
From the Data8 settings page (accessed from the left side menu of the admin area of your site) you can enable and choose the validation options that suit your needs.
On the configuration screen, enter your server and client-side API keys generated from the Data8 Dashboard. Each validation service requires the necessary credits to function.
When the PredictiveAddress service is enabled, the PredictiveAddress Options box will become visible. This box can be left blank to use the default configuration of PredictiveAddress. However, should you wish to customise your integration, you can do so by entering any combination of the options available for the PredictiveAddress service.
Telephone Validation Options
When Telephone Validation is enabled, all suitable telephone number fields are validated automatically. There are also some other options available to you for further control of validation: Default Country Code, Required Country, Allowed Prefixes, Barred Prefixes.
|Default Country Code||The ISO 2-character country code or international dialling code of the country to validate the telephone number in, unless that number contains an explicit country code prefix.|
|Required Country||Indicates the country that the number must be in to be considered valid. This should be provided as the ISO 2-character country code.|
|Allowed Prefixes||A comma-separated list of prefixes in standard international format that the number must start with to be treated as valid. For example, use "+441,+442" to allow only standard UK landline numbers.|
|Barred Prefixes||A comma-separated list of prefixes in standard international format that will cause the number to be treated as invalid. For example, use "+90,+447781" to block any Indian numbers or numbers allocated to C&W Guernsey.|
Email Validation Levels:
When Email Validation is enabled, all suitable email address fields are validated automatically. The level of validation to apply to entered email addresses can be selected from a drop down on the settings page. See the table below for information on each level.
|Syntax||The supplied email is checked to ensure that it meets the standard email address format. This is the quickest option and would reject such incorrect email addresses as "noone@nowhere" and "N/A", but would accept incorrect email addresses that are correctly formed but that do not include a valid domain name such as "email@example.com".|
|Domain||The supplied email is checked to ensure that the domain name (the part to the right of the @ sign) exists and is set up to receive email. This is still normally very quick, but can take a few seconds in some cases. This check would reject incorrectly formatted email addresses in the same way as the Syntax check, and would also reject a misspelled domain name such as "firstname.lastname@example.org". It can also detect when a domain name exists but does not handle email, such as "email@example.com". It does not verify that the part of the email address to the left of the @ sign exists.|
|Server||In addition to the Domain level checks, validates that at least one of the mail servers advertised for the domain is actually live.|
|Address||In addition to the Server level checks, validates that the mail server accepts mail for the full email address.|
After entering your configuration details and clicking save, the relevant enhanced data capture and validation will be applied to various data entry points around your site, assuming they are set up correctly following the attachment instructions on the configuration page.
For instructions on setting up the fields for each service, please refer to the section appropriate for the form builder plugin you are using on your site i.e. Contact Form 7, Gravity Forms or WooCommerce.
When PredictiveAddress is enabled, any suitable address entry section on your forms will have use of our address autocomplete and verification tool. Simply begin typing an address/postcode/company name into the Address line 1 box to start searching and narrowing down results.
If entered data is identified as invalid, the error will be highlighted suitably on the form.