Model may be tableless as well. Validation isn't connected with save
process or table fields.

http://book.cakephp.org/view/436/useTable
http://book.cakephp.org/view/410/Validating-Data-from-the-Controller

On Apr 15, 3:31 pm, Henrik Gemal <[email protected]> wrote:
> In my CakePHP application I have an action that sends an mail.
>
> To use this action you must POST some required fields like "to",
> "from", "cc", "subject" and like.
>
> How do I go around a validate those parameters?
>
> Since the mail isn't going to be saved into the database I cant use
> the normal "$validate" object in a model
>
> Is there a smart way to do it? I've looked through the manual but
> didn't find anything.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to