Have you looked at the page source to make sure the value is really
being filled in by cake rather than the browser autocomplete? I've run
into similar situations in the past where it took me nearly 20 minutes
of banging my head against my keyboard to figure out that it was just
the browser making the input values persist.

On Apr 24, 10:19 pm, Greg Skerman <[email protected]> wrote:
> Hey guys,
>
> Trying to work out how to clear a form field if that field fails validation.
>
> I've tried doing an unset($this->data['Model']['fieldname']) but the data
> still seems to persist in the form when it is returned to the user to
> correct validation errors.
>
> Help???
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with 
> their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group 
> athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to