Thanks allot that works great.. only it only checks the email /
subject and not the textarea if it is empty or not? I tried changing
the name but the error message does not come up?

On Feb 27, 12:37 am, "Grant Cox" <[EMAIL PROTECTED]> wrote:
> In your controller:
>
> if ( $this->Contact->validates($this->data) ){
>         // mail
>
> } else {
>         // show errors
> }


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to