how to solve captcha probem testLimit = 1 or auto regenerate the code after submit with working validation
thanks in advance
how to solve captcha probem testLimit = 1 or auto regenerate the code after submit with working validation
thanks in advance
Does this help you?
http://www.yiiframework.com/forum/index.php?/topic/17638-captcha-code-not-changing/
thanks mike,
whether only put this script on view ?
<div class="captcha">
<?php $this->widget('CCaptcha',array('captchaAction'=>'user/captcha')) ?>
</div>
<?php
/* simulate a click on "refresh captcha" for GET requests */
if (!Yii::app()->request->isPostRequest)
Yii::app()->clientScript->registerScript(
'initCaptcha',
'$(".captcha a").trigger("click");',
CClientScript::POS_READY
);