Chronoform验证码图像不显示
问题描述:
我使用chronform5上的Joomla 3.6.5,并创造新的形式与验证码。但验证码图像不显示前端。Chronoform验证码图像不显示
本常见问题的一些建议尝试,如果你已经添加了一个验证码元素的形式与负载验证码和验证码检查行动,但图像不显示。
{captcha_img}
答
在chronoform版本5中,您必须使用此代码:
<div style="" id="chrono_verification1_container_div" class="ccms_form_element cfdiv_text">
<label>Enter the code</label>
<input type="text" name="captcha" value="" title="" class="chrono_captcha_input" size="5" maxlength="5" />
{captcha_img}
<div class="clear"></div>
<div id="error-message-chrono_verification"></div>
</div>
答
看起来好像你已经在你的形式加入这两个验证码和验证码的元素 - 你只需要一个他们;并且相应的Load操作需要采用HTML(render form)操作之前的On Load事件形式。
什么常见问题建议你试过了吗? –