I think I may have answered my own question... Looking *outside* of the
data validation chapter in the manual and skimming through the "model"
chapter, I found the beforeValidate() method. With a description:

"Use this callback to modify model data before it is validated. It can
also be used to add additional, more complex validation rules, using
Model::invalidate()."

So I assume beforeValidate() can be used to run custom validation from
within the model and trigger the invalidate() method if something
fails. I suppose this topic just turned into a note for other "n00bs"
with similiar issues...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to