Good night forum.

I’m new in the framework and i have a question, I am trying to create a report using a listbox, but still do not understand how the selection of the listbox is used?


here take a look at this post it might help you

<?php echo $form->listBox($model, 'categories', $model->categories, array('multiple' => 'multiple', 'style' => 'width:180px;height:80px;')); ?>

You can select/deselect items holding the Control key and then clicking the item

thank you both!! (: