On Jul 5, 2:31 am, Sonicwallz <[email protected]> wrote: > I am trying to create a form that creates a new user. One of the > things I am validating is using a confirm password. Can I do this with > the rest of the validation in the Model code? Or do I have ot do this > in the controller before it is saved?
You do this in the model. There's an article in the Bakery on this: 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 -~----------~----~----~----~------~----~------~--~---
