Re: Where is the problem in my validations

2010-07-29 Thread Tilen Majerle
emm...error is non correct closed brackets of array -- LP, Tilen Majerle http://majerle.eu 2010/7/30 Master Ram...! > > > in the view : > > if(! empty($message)) { > > echo "".$message.""; > } > > if($form->isFieldError('Model_Name.field_name

Re: Where is the problem in my validations

2010-07-29 Thread Master Ram...!
in the view : ".$message.""; } if($form->isFieldError('Model_Name.field_name')) { e($form->error ('Model_Name.field_name', null, array( 'class' => 'failure')));

Re: Where is the problem in my validations

2010-07-29 Thread euromark
you might wanna "re-read" Tilen Majerle's answer... On 29 Jul., 18:25, CakeMan 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 wrote: > > > > > yes, u have itit

Re: Where is the problem in my validations

2010-07-29 Thread CakeMan
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 wrote: > yes, u have itit is not "NonEmpty" but is "notEmpty" xD > -- > LP, > Tilen Majerlehttp://majerle.eu > > 2010/7/29 CakeMa

Re: Where is the problem in my validations

2010-07-29 Thread Tilen Majerle
yes, u have itit is not "NonEmpty" but is "notEmpty" xD -- LP, Tilen Majerle http://majerle.eu 2010/7/29 CakeMan > Hi, > > Is there any problem with this Validation array in my model : > > var $validate=array > ( > 'email'=> a