Details
Description
The rendered form output has code like:
<input type="hidden" name="captcha[id]" value="6a0422c9d14b6d9f9ec54266a3192183" helper="formText" id="captcha-id" />
<input type="text" name="captcha[input]" id="captcha-input" value="" helper="formText" /></dd>
where helper attribute is proprietary for html validations, throwing warnings
Attachments
Issue Links
| This issue duplicates: | ||||
| ZF-5196 | Invalid XHTML strict produced by form decorator about Zend_Form_Element_Captcha |
|
|
|
Meanwhile the bug is fixed, there is a possible workaround how to get rid of this attribute and keep your HTML valid:
$captcha = new Zend_Form_Element_Captcha( ... );
unset($captcha->helper);