In fact this was a bug. Ticket submited and gwoo has corrected the
problem.
https://trac.cakephp.org/ticket/3869
On 4 jan, 15:35, Kalt <[EMAIL PROTECTED]> wrote:
> 1.2.0.6311-beta : if you define an optionnal input in your $validate
> array, the FormHelper mark it with a "required" css class.
>
1.2.0.6311-beta : if you define an optionnal input in your $validate
array, the FormHelper mark it with a "required" css class.
In a Model :
var $validate = array (
'test' => array(
'rule' => 'alphaNumeric',
'required' => false,
'allowEmpty