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

  1. ljearwood
    Posted 2 years 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.


  2. Sweet Captcha
    Plugin Author

    Posted 2 years 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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic