The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "SVG" Oct 14 - 6:30 PM Eastern
Get a free trial // Grow your CSS skills // Land your dream job

Adding an anti-spam feature to my WordPress widget form.

  • # January 25, 2013 at 1:51 pm

    I am trying to add an extra field to my form that would help me combat spam. I have tried adding reCaptcha and I think I was missing the ever important feature of actually checking the code before sending the contact message through the email.

    Here is my current code: []( “”)

    I would rank my own PHP experience at about a 5 out of 10. I understand enough to navigate pages but when it comes to troubleshooting problems like this I get somewhat lost.

    I think I need to add something else for the server side, but I’m totally lost on this, and the [API Docs for verification]( “API Docs for verification”)aren’t as clear to me as the ones were for what i’ve done so far.

    # January 25, 2013 at 1:53 pm

    For further clarification:

    What I have added so far is lines 372 – 382, the reCaptcha form. I believe I need to add something to the submit button, but I’m not entirely sure what, or what it is supposed to look like.

    # January 25, 2013 at 5:50 pm

    Any ideas ? :(

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed