What is the best way to determine if a user changes a specific field when
updating account?
 
I want to suspend the account when a user changes their email address and
send out a confirmation email that they will have to confirm the address. I
could make a separate form but that seems like over kill to make a new form
just for 1 field.
 
I was thinking beforeSave() compare the new data field with the record if it
matches no change so carry on....if its different then do what i need to do
, send email...?
 
Anyone have ideas? Simple approach?
 
Thanks,
 
Dave

--

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=.


Reply via email to