Akismet provides WordPress with the ability to check comments and form submissions against their global database of spam. WS Form PRO is fully integrated with the popular Akismet spam check plugin and provides a convenient and effective way of tackling form submissions containing spam content.
Any submissions that contain the ‘Spam Check with Akismet’ action will be graded for spam, and a colored circle will accompany the submission in the WS Form submissions page.
In order to use this action, you will need to have the Akismet plugin activated and be registered for an Akismet API key. Keys are free for personal blogs; paid subscriptions are available for businesses and commercial sites. If the Akismet plugin is not installed, the Spam Check with Akismet action will not be available to choose when configuring actions for your form.
Add the Akismet Action
To add an Akismet action to your form:
- Edit a form.
- Click the ‘Actions’ icon.
- Click the ‘Add action’ icon.
- Select ‘Spam Check with Akismet’.
You are then presented with the following options:
When Should This Action Fire?
You can choose to run the Spam Check with Akismet action when the form is saved, submitted, or both.
You should select the field on your form that represents the email address of the website visitor completing your form. If no options appear under this setting, it means you do not have an email field on your form, so you should add one.
Fields to Check for Spam
Click the ‘Add’ icon to add fields on your form that will contain textual content. Akismet will analyze these fields for spam. A good example of a field you would choose here might be an ‘Inquiry’ or ‘Comments’ text area field.
This setting lets you determine what to do if spam is found. Select an option appropriate to your spam assessing requirements.
Test mode can be used to put Akismet’s API into test mode and disable training of Akismet. For further information about this mode, click here.
Bypass if Administrator
If checked this action will not run if you are signed in as an administrator. This is a useful feature to enable while you are developing forms.