Exclude a Website Form by its Form Signs
The CleanTalk plugin offers a feature to exclude any form by its signs. In this context signs mean values of the attributes that could be found in the page code.
First, open the page where the form is located and open the DevTools:
DevTools can also be opened by pressing F12 or Ctrl+Shift+I or Ctrl+Shift+C+C (These are shortcuts for the browser Google Chrome, in other browsers shortcuts may be different).
Click the first icon at the top of the DevTools to select any page element and select any field of the website form:
Now the DevTools will show you the code of this selected element and its attribute names with their values:
Find the attributes "name" or "id" and double click on their values, after that the values will be selected and you can copy them:
In these particular examples the values of the attributes "name" and "id" are "your-message" and "input_3" and "input_1_3".
Then go to the CleanTalk plugin settings. For instance, in the Anti-Spam Plugin by CleanTalk for WordPress, the feature is here:
• WordPress Backend → Settings → Anti-Spam by CleanTalk → Advanced settings → category "Exclusions" → Form Signs Exclusions
Now put the values there in the RegEx format separated with new lines:
.*your-message+
.*input_3+
.*input_1_3+
The same procedure works with the attributes "action" and "data". Find its value the same way:
Then add their values to the Form Signs Exclusions field just like it was done previously in the RegEx format:
.*your-message+
.*input_3+
.*input_1_3+
.*https://forms.hsforms.com/submissions/v3/public/submit/formsnext/multipart/44486340/82ae7bba-e526-4cdc-893c-2446ed8e8217+
.*https://WEBSITE_DOMAIN/wp-admin/admin-post.php?action=mailpoet_subscription_form+
Save the plugin settings.
Done! Now the plugin will ignore any form data submissions if they have those signs (or values) you excluded.
If you haven't found the answer to your question, please, contact our support team:
https://cleantalk.org/my/support/open
It would also be interesting
- Encoding Contact Data with a Shortcode and Hook for Third-Party PluginsEncoding Contact Data with a Shortcode and Hook for Third-Party Plugins This article explains how to...
- Encode contact data WordPress optionHow to hide (encode) email addresses on your WordPress website from crawlers and bots Since the...
- How to exclude pages, forms or fields from anti-spam checkingPage, Form, or Field Exclusion From Anti-Spam Checking Here is the list of guides for setting...