RE: Validate HABTM Multiple

2011-04-04 Thread Krissy Masters
, April 05, 2011 2:05 AM To: CakePHP Subject: Re: Validate HABTM Multiple Are you using the 'with' key in the model relationship? Are you doing it in both directions? I don't know if it will help but I vaguely remember something along these lines. On Apr 3, 11:41 am, "Krissy Master

Re: Validate HABTM Multiple

2011-04-04 Thread gremlin
Not some. > > K > > > > > > > > -Original Message- > From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf > Of euromark > Sent: Sunday, April 03, 2011 9:07 AM > To: CakePHP > Subject: Re: Validate HABTM Multiple > >

RE: Validate HABTM Multiple

2011-04-03 Thread Krissy Masters
@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of euromark Sent: Sunday, April 03, 2011 9:07 AM To: CakePHP Subject: Re: Validate HABTM Multiple "but I never get any validation errors for the HABTM model " what does $this->Post->saveAll() return? boolean or array? pr()

Re: Validate HABTM Multiple

2011-04-03 Thread euromark
at is) if it validates. > > Not being an ass but that sounds like saveSome() if your validating it > first.no? > > > > > > > > -Original Message- > From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf > > Of Jeremy Burns |

RE: Validate HABTM Multiple

2011-03-31 Thread Krissy Masters
at is) if it validates. Not being an ass but that sounds like saveSome() if your validating it first.no? -Original Message- From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of Jeremy Burns | Class Outfit Sent: Friday, April 01, 2011 12:53 AM To: cake-

Re: Validate HABTM Multiple

2011-03-31 Thread Jeremy Burns | Class Outfit
Couldn't you write a custom validation rule in the Post model that examines the count of the Category key of the data array passed in? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 1 Apr 2011, at 01:18, Krissy Masters wrote: > How can you validate the numb