Each
(Rikius)
1
how can i fix it with tabular index. I don’t want to go deep into framework
my code is
$data = array(1,2,3,4,5,6,7,<img src='http://www.yiiframework.com/forum/public/style_emoticons/default/cool.gif' class='bbc_emoticon' alt='8)' />;
echo CHtml::activeDropDownList($field,"[$key][$j]value", $data, array('multiple'=>'multiple'));
generated select box with name="post[j][key][value][]"
error attached to this post.
847

i know that i can go around but how to simplify activeDropDownList element?
zaccaria
(Matteo Falsitta)
2
remove the CStringValidator.
Go in the model and remove in the function rules the row that assign a string validator to this field.
If it is the only one validator, change it in safe in order to be massively assigned.
Each
(Rikius)
3
yes i found i model that i was write rule
array('value', 'length', 'max'=>255),
thank you for answer
best regards