Re: Re: Update view data after validation failed

2010-08-11 Thread Jon Bennett
> $this->set('data', $this->Model->data); > > You're setting a View variable $data, which is different than the > controller's $this->data. Try: > > $this->data = $this->Model->data; Nope, that doesn't do it. It seems like the data the Form helper is using persists between submissions. Jon ps: re

Re: Update view data after validation failed

2010-08-11 Thread Jon Bennett
> I see what I would expect from the 2 calls to debug above in the > browser, but the form fields are always the same as they were posted. > Is there some hidden data somewhere I need to reset, perhaps in the > Form helper? For the time-being I've placed this code in the controller, but it feels a