Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
systems:yii2:email_tools [2018/05/10 16:50] smayr [Setup Captcha] |
systems:yii2:email_tools [2018/05/14 11:08] (current) smayr [Setup Captcha] |
||
---|---|---|---|
Line 146: | Line 146: | ||
<?= $form-> | <?= $form-> | ||
<?= $form-> | <?= $form-> | ||
- | <!-- // To regenerate new captcha after each refresh, call getVerifyCode(). | + | |
- | | + | |
- | --> | + | |
- | <? | + | // See: http:// |
+ | $this-> | ||
+ | | ||
<?= $form-> | <?= $form-> | ||
' | ' | ||
Line 442: | Line 444: | ||
== Setup Captcha == | == Setup Captcha == | ||
+ | |||
+ | '' | ||
In controller' | In controller' | ||
Line 539: | Line 543: | ||
</ | </ | ||
- | In form view using the captcha, add '' | + | In form view using the captcha, add '' |
<code php> | <code php> | ||
+ | <? | ||
+ | // To regenerate new captcha after each refresh, call getVerifyCode(). | ||
+ | // See: http:// | ||
+ | | ||
+ | ?> | ||
+ | <?= $form-> | ||
+ | ' | ||
+ | ' | ||
+ | ]) ?> | ||
</ | </ | ||
+ | |||
+ | See more: | ||
+ | * [[https:// |