Change the tag of error() in CActiveForm.

To change the tag of error() in CActiveForm you need to put the follwoing code in the beginning of cActiveForm.


CHtml::$errorContainerTag = 'div';

Thats it.

0 comments: