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