If some could explain hove to invalidate a field manual in the
controller in 1.2.
In 1.1 you could invalidate a field and then call save without
parameters, then set wouldn't be called and the invalidated fields
didn't get erased as nate explains here
http://groups.google.com/group/cake-php/browse_thread/thread/354a677b21779c0/74026959422e1e0e?lnk=gst&q=invalidate&rnum=1
But in 1.2 it changed so set() always will be called.

I'm trying to create a user register action and if password =
password2 then password will be transformed to a md5 hash.
If the user name already registered then the password should be reset
to the unhashed saved in a temp var.

I know that I could invalidate in the beforeValidate() callback but I
can't change the data back there (I think at least)

Thankful for the help


--~--~---------~--~----~------------~-------~--~----~
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