, 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
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
>
>
@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()
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 |
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-
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