Anti Spam Measure for Forms

I have used a variety of Form Managers on sites over the years. The majority of you should have Contact Form 7 on your site. I have used a standard feature in Contact Form 7 which  is a hidden field. Computers can see it, but humans cannot see it, so they do not fill it in. If the form is submitted and the hidden field has data in it, it is not accepted becasue it has been added by a computer so the form is rejected. 

It certainly helps in most cases, but I am also aware that some of you seem to have websites targetted from time to time. Here is another simple addition to your forms which may help. It is a simple quiz which will prevent submission unless the answer is correct. 

There are standard forms of recaptcha used by Google. It relies on a human interpreting what is in a picture, or pictures. It can be particularly tiresome on some websites. I have also noted a difference in operation of Google Recaptcha with different types of browser. It works very well with Chrome, less so with other browsers. 

The following is a simple addition to your Contact Form 7. Download the file by clicking at the bottom of this post and copy the text and insert it just above the entry for the Enter button. 

Here is an example:

 

I have inserted another form control between the message area of the form and the Enter button. Here is what it looks like in the Contact Form 7 Layout. Highlighted in yellow below. 

It may look complicated, but it isn’t really. There is a short explanation at the start and a series of questions, each with the response expected like this:

“1 plus 2 =|3”

You can build your own questions for example:

“What is the capital of France?|Paris”

Anyone submitting a message can see the question, but not the answer.

Of course none of this should be really necessary. But unfortunately there is a large group of people that must see some success from sending spam messages otherwise it would not be worth effort.

Will this solve the problem?

I honestly do not know. I am pretty sure with some of the anti spam measures which are often defeated, there must be people who are paid to paste messages into forms. In which case none of these methods will work. But if you are currently plagued with spam messages coming in via the website, this may be worth a try.

Do It Yourself

Locate your contact form by logging in and locating Contact in the side bar. Look for the form(s) and open one. Towards the bottom of the form you will see the text:

[submit “Send”]

Place some line breaks between this and the content above it. Then click on the download button to download the example code. Then paste it into the space you have made. Save the form and then go to your contact us page and test it. Make sure it works and you still receive a message through your website before leaving.

Any problems drop me a line or call me. Click on the button below, you should see the text, copy it, and paste it into the form as described.

Wingrove-Services
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

My privacy policy can be located here: Wingrove Media Privacy Policy (opens in a new window)

My Cookies Policy can be found here: Wingrove Media Cookies Policy (opens in a new window)