I am trying validate a field birthdate in my form but the javascript with the error message doens’t work. I have tried a ‘date’ and ‘type’ (dateFormat) rule. The column birthdate in the database is DATE and NOT NULL.
Oh, found it: clientValidateAttribute() is not implemented in CDateValidator, there is no client validation. You have to use at least ajax validation for it. There is already an issue for that: https://github.com/yiisoft/yii/issues/887