tabular and multiple selectbox value

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='' 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.



i know that i can go around but how to simplify activeDropDownList element?

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.

yes i found i model that i was write rule

array('value', 'length', 'max'=>255),

thank you for answer

best regards