Hi @ all !
I’m trying to create a form that collect tabular input but I have a problem with ActiveLabels.
I’m using the following at a loop and it works well :
echo CHtml::activeLabelEx($model,'['.$i.']url');
echo CHtml::activeTextField($model,'['.$i.']url', array('value'=>$model->urls[$i],'size' => 60, 'maxlength' => 255));
i also specified the following in my model rules :
public function rules()
array('url', 'required', 'on' => 'step3'),
.....
But I don’t know why the ‘required’ CSS style (small red *) appears only when a validation error occurs.
Is it a bug at Tabular input generation ?