Build in captcha callback

Hi, I’m using your captcha built in application (yii\captcha\CaptchaAction and yii\captcha\Captcha), and I want to know if it has a javascript callback or something similar for correct results.

For example google recaptcha has the data-callback parameter that resolve this problem.

åNot sure if that is what you want but try overriding afterRun method and implement your logic there