Re: Replace for VALID_NOT_EMPTY?

2007-12-01 Thread Marcin Domanski aka kabturek
Hey > 'nonEmpty' => array( >'rule' => VALID_NOT_EMPTY >'required' => true, >'allowEmpty' => false, >'message' => 'You must to put something.' >) > looks like you didnt' replace VALID_NOT_EMPTY ;) here is what i use:

Re: Replace for VALID_NOT_EMPTY?

2007-12-01 Thread Dardo Sordi Bogado
I'm using this: 'nonEmpty' => array( 'rule' => VALID_NOT_EMPTY 'required' => true, 'allowEmpty' => false, 'message' => 'You must to put something.' ) 2007/11/18, mbavio <[EMAIL PROTECTED]>: > > Hi, I was told that VALID_N

Replace for VALID_NOT_EMPTY?

2007-11-18 Thread mbavio
Hi, I was told that VALID_NOT_EMPTY is deprecated and in orden to achive this kind of validation, you have to use: 'nonEmpty' => array( 'rule' => null 'required' => true, 'allowEmpty' => false, 'message' => 'You must to put something