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: [http://pastebin.com/D550jjvs](http://pastebin.com/D550jjvs “http://pastebin.com/D550jjvs”)

    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](https://developers.google.com/recaptcha/docs/verify “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.

*May or may not contain any actual "CSS" or "Tricks".