You are incorrect in your assumption; you can validate a field with
the $validate array, even if it's not in the database.

This is most often used for "I agree" checkboxes and whatnot, but it
works with anything.

hth
grigri

On Aug 4, 9:13 am, xiaopang <[email protected]> wrote:
> Hello,
>
> If I want to validate the form input, let's see if it is a email and I
> don't need to store this input in to database, which means the
> $validate array can't do the validation.
>
> In this case, besides writing reg express, does cakephp provide any
> validation mechanism?

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

Reply via email to