Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Adding an anti-spam feature to my WordPress widget form.

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42250
    JoeBrooks
    Member

    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/D550jjvshttp://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.

    #122307
    JoeBrooks
    Member

    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.

    #122341
    JoeBrooks
    Member

    Any ideas ? :(

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.