WordPress.org

Forums

Sweet Captcha
[resolved] Calling and verifying from javascript (2 posts)

  1. ljearwood
    Member
    Posted 9 months ago #

    Hello, I'm new to sweet Captcha, so far I like the design, it was easy to implement. My question is that since my site submits it's forms with a javascript event handler, Sweet is not validating. Is there a way to verify that it's been answered correctly with javascript. I would like to verify this before the POST contents are verified with PHP.

    https://wordpress.org/plugins/sweetcaptcha-revolutionary-free-captcha-service/

  2. Sweet Captcha
    Member
    Plugin Author

    Posted 9 months ago #

    We're afraid not, moving the signature validation to the client side would void any security measure, the validation should happen server-to-server after the user has submitted his answer and before processing his request as valid on your end. See https://github.com/sweetcaptcha/sweetCaptcha-sdk-php/blob/master/example.php for an example

Reply

You must log in to post.

About this Plugin

About this Topic