o'right, "access" is correct.
Found it.
$this->Model->invalidfields()
thanks

On Tue, Jan 27, 2009 at 3:30 PM, brian <[email protected]> wrote:

>
> What do you mean by "display"? You can access the model's $validate
> array from the controller:
>
> $this->Model->validate
>
> Or have a look at the controller's validate() and validateErrors()
> methods. Perhaps that's what you're looking for.
>
>
> http://api.cakephp.org/class_controller.html#0383f0f3d193fcaaaf132b30ccef4604
>
> On Tue, Jan 27, 2009 at 11:46 AM, Marcelo Iwata <[email protected]>
> wrote:
> > Is there a way to display validation methods before call  the Save
> > operation?
> > Thanks in advance.
> >
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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