Thursday, July 29, 2010

Re: Where is the problem in my validations

you might wanna "re-read" Tilen Majerle's answer...


On 29 Jul., 18:25, CakeMan <narula.vi...@gmail.com> wrote:
> Well, Validations are working perfectly (giving error message) except
> that error in 2571 line with this "NonEmpty" ??? Strange ??
>
> On Jul 29, 1:12 pm, Tilen Majerle <tilen.maje...@gmail.com> wrote:
>
>
>
> > yes, u have it....it is not "NonEmpty" but is "notEmpty" xD
> > --
> > LP,
> > Tilen Majerlehttp://majerle.eu
>
> > 2010/7/29 CakeMan <narula.vi...@gmail.com>
>
> > > Hi,
>
> > > Is there any problem with this Validation array in my model :
>
> > > var $validate=array
> > >                                 (
> > >                                  'email'=> array
> > >                                                                  (
>
> > >  'rule'=>'NonEmpty',
>
> > >  'message'=>'Please provide valid Email.'
> > >                                                                        ),
> > >                                   'password'=> array
> > >                                                                   (
>
> > > 'rule' =>'NonEmpty',
>
> > > 'message'=>'Please provide Password.'
> > >                                                                         )
> > >                                        );
>
> > > it is giving me error as below :-
> > > Warning (2): preg_match() [function.preg-match]: Delimiter must not be
> > > alphanumeric or backslash [CORE\cake\libs\model\model.php, line 2571]
>
> > > I am using Cake1.3
>
> > > Please help
>
> > > Thanks
>
> > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others
> > > with their CakePHP related questions.
>
> > > You received this message because you are subscribed to the Google Groups
> > > "CakePHP" group.
> > > To post to this group, send email to cake-php@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.c om>For more options, visit this group at
> > >http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: