Unfortunatly I didn't manage to get this working.
It doesn't remove the 'validate' rules which I set when I have the
'reset password' form.

var $actsAs  = array('ConditionalValidation' =>
    array(array('condition' => '$data[\'User\'][\'rstpass\'] == 1',
'remove'    => array('username','password','email','name'),

'validate'  => array('username' => 'alphanumeric',
'email'=>VALID_EMAIL))
                                                       )
                       );

any idea's?

On Aug 15, 4:53 pm, Charlie <[EMAIL PROTECTED]> wrote:
> This seems very nice. I will try this out.
> Thnx!


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