On Tue, Oct 6, 2009 at 12:47 PM, Simon <[email protected]> wrote:
>
> i have 2 fields email and confirm_email  i tired this validation didnt
> work
>
> 'email_confirm' => array('rule' =>  array( 'notSame'),'message' =>
> 'email not same')

Have a look here:

http://bakery.cakephp.org/articles/view/using-equalto-validation-to-compare-two-form-fields

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