Home Forums Newsletter Plugin Support Adding Google Recaptcha

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #20694
    reholmes27
    Participant

    I have successfully used the newsletter_subscription_extra filter to add a recaptcha box to the subscription widget, however, I can’t find a way of validating the recaptcha. Is there a filter or action for checking the form data and returning an error as necessary?

    Thanks

    Richard

    #20761
    Stefano
    Keymaster

    There is no a pre subscription filter, try to check every post with an “ne” field.

    #20790
    reholmes27
    Participant

    Thanks Stefano but I’m not sure how that would help me validate the Google Recaptcha?

    I have found a solution, for now, using JS. I can change the form action attribute on page load and when the recaptcha is checked a callback will then set the action attribute correctly for the form to submit.

    Thanks

    Richard

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.