To use the Data8 plugin, you will need either Contact Form 7, Gravity Forms or Woo Commerce installed.
Contact Form 7: https://wordpress.org/plugins/contact-form-7
Gravity Forms: https://www.gravityforms.com/
Woo Commerce: https://en-gb.wordpress.org/plugins/woocommerce/#description
This guide will assume that Contact Form 7 version 5.1.3 is installed. To upgrade/downgrade versions for compatibility with various WordPress versions, download the correct version from: https://wordpress.org/plugins/contact-form-7/advanced/
Other versions and combinations may work. These are just ones that have been tested by us.
To install the Data8 Validation Plugin on your WordPress site:
1. Head over to the admin area of your site.
2. From the left side menu, select ‘Plugins’.
3. Click the ‘Add New’ button at the top of the page.
4. Search for ‘Data8’ in the search box provided.
5. Locate our validation plugin, and click install.
6. Follow the installation instructions.
7. Once installation has been completed, activate the plugin by going to the plugins page (Select plugin from the left side menu) and click the ‘Activate’ button for the Data8 Validation Plugin.
All done! You can now move onto the configuration section of this guide.
To configure your validation settings, click the ‘Data8 Validation’ button from the left side menu, or go to your ‘Plugins’ page, find the Data8 Plugin and click configure from there. On this page you will find various options for the level of validation to apply across your site, as well as instructions on how to integrate Data8 validation into your Contact Form 7, Woocommerce or Gravity Forms’ forms.
1. Enter your Data8 API Server key. To find your Data8 Ajax API Key, go to https://www.data-8.co.uk/ValidationAdmin/AjaxAPIKey and log into your Data8 account.
2. Configure the validation options to suit your needs
3. Remember to click ‘Save’ when you’re done!
You can now set-up a form following the instructions on the Data8 Validation plugin settings page, or follow the guide below to test the plugin.
This guide will demonstrate how to test/implement the Data8 validation services using a Contact Form 7 form.
Below is an example of a Contact Form 7 form with predictive address fields:
Also add “skip_mail: on” to the ‘Additional Settings’ tab of Contact Form 7 to stop emails being sent!
The global settings set on the Data8 Validation plugin settings page can be overridden by entering override attributes on the form elements themselves when setting up the form. For example, adding "level:Address" into the email field would override the current Email Validation level chosen in the settings page for the plugin.