Re: Where is the problem in my validations

2010-07-30 Thread Tilen Majerle
emm...error is non correct closed brackets of array -- LP, Tilen Majerle http://majerle.eu 2010/7/30 Master Ram...! ramganga...@gmail.com in the view : ?php if(! empty($message)) { echo div class=\success\.$message./div; }

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 narula.vi...@gmail.com Hi, Is there any problem with this Validation array in my model : var $validate=array (

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 tilen.maje...@gmail.com wrote: yes, u have itit is not NonEmpty but is notEmpty xD -- LP, Tilen Majerlehttp://majerle.eu

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

Re: Where is the problem in my validations

2010-07-29 Thread Master Ram...!
in the view : ?php if(! empty($message)) { echo div class=\success\.$message./div; } if($form-isFieldError('Model_Name.field_name')) { e($form-error ('Model_Name.field_name', null,