On Sep 6, 11:40 am, amin <[email protected]> wrote:
> Hi,
>
> Can u plz help me out, how to call validation for multiple actions of
> a controller
The action and validation are not dependent - related.
>
> E.g. a user controller, in user controller add, signup, forgot
> password .. etc are actions
>
> now in model class User extends AppModel{
>
> }
>
> how to validate mentioned actions validation in User model ????
You don't validate actions, you validate data.
>
> I have tried $validate method but it only allow for only one action
the validate array contains fields, not actions.
>
> so plz help me out.
>
> thnks in advance
AD
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