OK thanks!!

On 1 Jul., 13:28, Thomas Ploch <[email protected]> wrote:
> Hello,
>
> just set $this->data['Model']['captcha_field'] = null if your validation
> fails. This way the field will be empty in the view.
>
> Dunno what key 'empty' you mean, since validation rules don't have an
> 'empty' key available.
>
> Regards,
> Thomas
>
> Am Freitag, den 01.07.2011, 04:18 -0700 schrieb heohni:
>
>
>
> > Hi,
>
> > I would like to have always my captcha input empty, especially on
> > reload because of validation error.
> > I thought I can do this with 'empty'=> true, but the input will always
> > show always the last value.
>
> > Is there a better solution?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to