Check carefully the meaning of "required" versus "notEmpty" (or '/\S
+/') in validation  ("required" makes the field mandatory -- but can
be empty -- every time single time you call validation, whether the
field is in a form or not).
Some usage of "on" => "create" might also help.

hth

On Aug 18, 9:55 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Aug 18, 9:47 pm, David Yell <[EMAIL PROTECTED]> wrote:
>
> > This was solved in #cakephp
> > By using $this->Model->validates($this->data['Model']['field']
>
> > So big thanks to penfold_99 for sorting this for me, thanks!
>
> That reminds me of the time someone "optimized" my code by commenting
> out all the code that did anything...
--~--~---------~--~----~------------~-------~--~----~
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