WordPress Contact Form with Spam Protection Version 2.0.0 Released!

Reading Time: < 1 minute

UPDATE: I would highly recommend Gravity Forms from RocketGenius for a very robust form integration with WordPress!

With over 140 comments, the WordPress Contact Form with Spam Protection has been, by far, the most popular plugin that I’ve helped develop. It’s been downloaded tens of thousands of times and the post is my most popular of my website. I’ve gotten a lot of feedback on the plugin and finally decided to act on it, integrating all the recommendations that my readers have had!

Here are some of the features:

  1. The ability to create a subject dropdown list.
  2. The ability to make the challenge answer case sensitive or not.
  3. Additional improvements to prevent script tags from being evaluated in the fields passed.
  4. The ability to set a default subject line or allow the user to concatenate their own.
  5. Nicer styling with highlighted fields.

If you upgrade to this version (2.0.0), please note that you’ll have to modify the code on your Contact Page that instantiates the code. It used to be a comment and now it’s a typical substitution string.


WordPress Contact Form with Spam Protection

Go to the Project Page for additional details and a download link!


  1. 1
    • 2

      Thanks Wes! It took me a few months to catch up on the work I needed to do with this plugin. I hope to make it multi-lingual and add additional style customization in the future… just wanted to get this one out now, though!

  2. 3
  3. 4

    Fantastic improvements! I’ll likely upgrade all my existing WP contact forms with this one. The custom subject lines are a great addition.

    I’ll also add it to the plugin list at wpZipper.

    You might consider giving it a new name, so people can better differentiate it from the previous Contact Form plugin(s).

    Karr Contact? (I resisted the use of a double “K”)

    • 5

      Thanks, Noah!

      I think changing the name at this point might be a bad idea – it’s been downloaded tens of thousands of times and is, by far, my most active page. Also … the naming, “WordPress Contact Form with Spam Protection”, has significant SEO value. 🙂


      • 6

        Ah, I wasn’t even considering the history your plugin has. Yes, changing the name sounds like a bad idea on second thought.

  4. 7

    Hi Douglas, I haven’t used this plugin yet, but may implement it in my blogs in the near future.

    I actually didn’t even know you were developing these type of things, maybe I should stop by more often.

    But, again, I just wanted to drop by and say hi. It seems like a month or so since I haven’t said hi.

    • 8

      Hi Nicholas!

      Welcome back and I’d love you to check in more often. 🙂

      You can check out all the development projects on my Project Page. I’ve also got a couple more websites under development that should make a nice splash!

      More to come!

  5. 9

    Douglas, that rocks. Thanks so much for making such a great plugin that I’ve already found useful on a site I did for a non-profit and I think I’ll find useful again on a site I’m doing for my artist brother-in-law.

  6. 11
    • 12

      Thanks Dean. I had some trouble with WP-Cache continuously caching it regardless. I wound up turning it off until got the page where I needed it and then turned caching back on.

  7. 13
  8. 16
    • 17
      • 18

        One thing I would like to know: how do you make your comments work like this? I would love to be able to have the option to reply to comments, etc. It looks great.

        • 19

          Shawn, that’s the million dollar answer! I actually wrote the good folks at Akismet and asked them if they’d like to work with me to create this for comments and they didn’t sound enthusiastic about it.

          However, WordPress 2.2 has some new comment hook capability so it may be possible for a plugin to be created. I’ll do some digging and see!

  9. 20
  10. 22
  11. 23

    Hey Doug- It’s certainly been awhile. I ran into this plugin while doing a search. Great job on it.

    Question: how do you add a drop down list as you said? are we supposed to go into our contact page and just add ‘( Option A | Option B | etc… ) ? Doesn’t seem to work right for me. Obviously, I’m missing something.

  12. 25

    Hi Douglas,

    is it possible to ‘strip down’ this plugin so that it reads simply as:
    ‘YOUR EMAIL: [text input box] [submit button]’?????
    very simple. and the user puts their email into that box, and it gets sent to one of our emails, for the user to join a mailing list (which we input manually).

    is this too far out of the way to use a WP plugin for a simple function?

    also, after someone hits the ‘submit’ button to what page are they taken? or does it verify the submit?

    cheers for your help!

    • 26


      I think you took a left turn somewhere… this isn’t an email subscription plugin, it’s a contact page plugin. I you’d like an email subscription tool, I’d recommend Feedburner.


  13. 27
  14. 28

    Hi, I’ve been looking for a comment form for a customer’s wordpress-based site. They would like to have two forms for two different groups using the site.

    Is this possible with your plugin?

  15. 29
  16. 30

What do you think?

This site uses Akismet to reduce spam. Learn how your comment data is processed.