2009/4/27 SŽébastien Cramatte <scramatte@zensoluciones.com>
Maybe there is some particular configuration of decorators that cause this, try with a Dumb captcha and fewer option to see if you get the right inputs. Zend_Form_Element_Captcha uses an internal decorator so if your forms play with decorators it can render in wrong html.
$elt = new Zend_Form_Element_Captcha('captcha', array(
'label' => "are_you_human",
'captcha' => array(
'captcha' => 'Image',
'wordLen' => 6,
'timeout' => 300,
'font' => './share/fonts/verdana.ttf',
'imgDir' => './share/img/captchas/',
'imgUrl' => '/share/img/captchas/',
)
));
$this->addElement($elt);
Maybe there is some particular configuration of decorators that cause this, try with a Dumb captcha and fewer option to see if you get the right inputs. Zend_Form_Element_Captcha uses an internal decorator so if your forms play with decorators it can render in wrong html.
--
Giorgio Sironi
Piccolo Principe & Ossigeno Scripter
http://ossigeno.sourceforge.net
没有评论:
发表评论