Sunday, March 1, 2009

Validation Problem

I am facing a problem about validation. In my user model there are 20
validation for registration form. During registration validation works
properly. But when any other action (i.e. update profile) under user
controller there are only 8 fields to check validation from user model
but it get failed. In this case when I removed others validation rule
(from all 20) i.e. 12 out of 20 (only 8 from update profile action)
then update profile action works. But I need all 20 rules within user
model. Is there anyone to help me ?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: