Contact Form 7 Math Quiz

As you may or may not know, Contact Form 7 is probably the most popular contact form plugin out there for WordPress. With a whopping 5+ million installs, a lot of people are using Contact Form 7. I am of course also included in this group.

Contact Form 7 has a handy feature where you can create a quiz that essentially acts like a captcha. After going back to the first site I made the quiz on to copy-paste repeatedly, I decided that I would put the quiz up here so I can access it easily and so other people have access to it.

All the quiz contains is simple addition questions for all the numbers between 1 and 9. Simple enough, but also simple enough to fool most bots.

Simply copy paste the code below into your contact form and you’ll be off to the races:

Invalid GitHub Gist source. Please check your source.

As always thank you for reading and please share it around as much as you can! Please feel free to put any suggestions or ideas for future tutorials in the comments section below.