Tabindexes

Hello!

Is it possible to insert tabindexes with "CHtml::activeTextField"?

Thanks!

I realize this was asked over a year ago, but I would like to know the answer too…

Does anyone know how to use tabindexes in Yii?

You can add it to the htmlOptions parameter - http://www.yiiframework.com/doc/api/1.1/CHtml#activeTextField-detail

like


CHtml::activeTextField($model, 'username', array('size'=>30,'maxlength'=>30,'tabindex'=>2));

Of corse is possible:




CHtml::activeTextField($model,'description',array('tabindex'=>2));