Hi,
I bet you are using your own or 'viewHelper' decorator for all elements and you
need to specify the "Captcha" decorator on captchas:
pe:
$captcha->setDecorators(
array(
'Captcha',
array('Label', array('tag' => 'div', 'requiredPrefix' => '* ')),
array('HtmlTag', array('tag' => 'div', 'class' => 'precol80
col320')),
'Errors'
)
);
I think that should do it...
--
Alayn Gortazar
Irontec, Internet y Sistemas sobre GNU/LinuX - http://www.irontec.com
+34 94.404.81.82
----- "mamba" <[email protected]> escribió:
> Hi,
>
> I am sorry if I ask for something other than this text is about, but
> please
> help.
>
> I need to use captcha in my web application based on ZF. A lot of time
> it
> took me only to show captcha image, now it is shown fortunately. But
> other
> problem is here. Captcha shows image, input element for typing what a
> man
> see in image and once more imput text which is filled with name of
> image
> without ".png" extension.
>
>
> Copied from firebug:
>
>
>
> http://localhost/www/web_root/images/captcha/c681763529f937670ca37a407d69e5b7.png
>
>
>
>
>
>
>
>
> I think last wouldn't be there, do you?
>
> Please help where I am making an error.
> Thx
>
> --
> View this message in context:
> http://n4.nabble.com/Captcha-Form-Element-tp652248p1393072.html
> Sent from the Zend Framework mailing list archive at Nabble.com.