Re: On the fly validation in model and form

2008-01-30 Thread jakecake (newbie)
Thanks a lot, sure it helps! I didn't know the validateAction property. I will try to hack by this way, or maybe keep the current manual validation. Cheers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP"

Re: On the fly validation in model and form

2008-01-30 Thread grigri
See if this helps: http://groups.google.com/group/cake-php/browse_thread/thread/6c2c27bbcdcb4e33 On Jan 30, 4:18 pm, "jakecake (newbie)" <[EMAIL PROTECTED]> wrote: > Hi, > > I need to validate some fields in a model called User (id, name, > email, password). That's quite easy with 1.2 rules. > >

On the fly validation in model and form

2008-01-30 Thread jakecake (newbie)
Hi, I need to validate some fields in a model called User (id, name, email, password). That's quite easy with 1.2 rules. For exemple, it is easy to check that the password field is not empty when the user register, because an empty password is not valid. But on the over hand, when the user brows