I have a validation error field as simple as possible:
<?php echo($form->error($model, 'login', $validationArray)); ?>
[size=2]where [/size]$[size="2"]validationArray reffers to:[/size]
[size="2"]
[/size][size=2]$htmlOptions = array[/size]
(
'class'=>'span5',
'maxlength'=>70,
'errorCssClass'=>'myclasserror',
'successCssClass'=>'myclasssuccess',
'validatingCssClass'=>'myclassvalidating',
[size=2]);[/size][size=2]
[/size][size="2"]Special validation-related classes are cleary ignored. Though I have passed my custom classes in above code, when I firebug generated site, I clearly see, that my input receives error, success and validating, that is – default classes.[/size]
[size="2"]What am I missing or doing wrong?[/size]