On 30 Gen, 13:45, grigri <[EMAIL PROTECTED]> wrote:
> var $validate = array(
> 'password' => array(
> 'rule' => 'alphanumeric',
> 'required' => true,
> 'allowEmpty' => false
> )
> );
>
ok, thanks, my password arrive in controller (and in model validation
also) not blank, beacuse, I
var $validate = array(
'password' => array(
'rule' => 'alphanumeric',
'required' => true,
'allowEmpty' => false
)
);
'required' means that the form field must be submitted, i.e. you can't
add/update this model without specifying that field.
'allowEmpty' means that if the field is
Try this:
var $validate = array(
'password' => array(
'rule' => 'alphanumeric',
'required' => true
)
);
On 30 Sty, 11:06, Reny <[EMAIL PROTECTED]> wrote:
> Hi all,
> I'm using the last beta release and I have this problem:
> I have in my model that validation rules
>
> var $validate = array(
>