How can i validate a form for the input is not bigger than 36 and error message?
http://www.yiiframework.com/doc/api/1.1/CModel#rules-detail
http://www.yiiframework.com/doc/api/1.1/CActiveForm#textField-detail
and Finally
http://www.yiiframework.com/doc/api/1.1/CActiveForm#error-detail