How to get from submited form objects

Hello, I have a form where I add field for tags, I can get Id’s of tags, its simple, but what if I want to recieve array of Tag objects. Can somebody give some advice to me? Thanks!


Can you share your code?


Try to user this, hope ill solve your problem.

as for tags we implemented this and find excellent.


<?php echo $model->tags; $tags=explode(",",$model->tags);

          echo CHtml::textField('tags','',array('id'=&gt;'test'));