Thanks jonknee, I didn't even consider the 'on' key in my validation
rules.  I'll have to go back to this and see if that solution works
better than the modification I made to app_model.php that I posted
above. :)

On May 19, 10:40 pm, jonknee <[EMAIL PROTECTED]> wrote:
> > Does anyone have any insight on how to go about validating specific
> > fields in a model for special circumstances like this?  Thanks!
>
> We had a discussion that got into this topic recently:
>
> http://groups.google.com/group/cake-php/browse_thread/thread/dc119a9b...
>
> There are a few ways to go, the easiest in your case is probably using
> the 'on' key in your validation rules. You could also fetch the user's
> data, modify it with the new password and then attempt to save the
> whole thing back.
--~--~---------~--~----~------------~-------~--~----~
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