Overwrite Cactiveform Variables


in all of my forms by default i want to generate


without touching core files,

class CActiveFormNew extends CActiveForm{

	public $htmlOptions=array('autocomplete'=>'off');


i already extends the CActiveForm Calss to another classfile name and i set $htmlOption ,and it is working for me but i have to change the widget name in whole forms in my project. i don’t want to do that.

any alternative way we have to overwrite $htmlOptions in component controller file?


Customizing widgets globally

Thank you so much