Contains with Alias

2009-03-16 Thread mariacheu...@gmail.com
Hi all, I am using an alias before I do my find call, because I have a general search function and I want to parse the results with one chunk of code, regardless of the Model, so I use: $this->Model1->alias = 'Result'; This works fine, except for one Model, which contains another. In that case I

Re: Validation errors for the wrong form

2009-01-04 Thread mariacheu...@gmail.com
; http://edwardawebb.com/programming/php-programming/cakephp/complex-va... > > On Jan 3, 7:29 am, "mariacheu...@gmail.com" > wrote: > > > They are both different forms, the register form is from a view and > > the login is part of a sidebar element. Both forms have

Re: Validation errors for the wrong form

2009-01-03 Thread mariacheu...@gmail.com
included the login element within the registration form? > > thanks! > > On Jan 1, 9:33 am, "mariacheu...@gmail.com" > wrote: > > > Hi all, > > Apologies if this has been addressed before, but I've searched and > > can't find a thing. > >

Validation errors for the wrong form

2008-12-31 Thread mariacheu...@gmail.com
Hi all, Apologies if this has been addressed before, but I've searched and can't find a thing. I have a register page, with a login element in the sidebar. The login element is on every page in the sidebar. When I try register with invalid data, the correct validation errors show for the register