_tina_ Posted January 6, 2010 Share Posted January 6, 2010 Hi, I currently have in my view: <?=$this->formSelect('data[var]', $this->data['var'], array('id'=>'var'), $this->var)?> How can I make this a multi select box like: <select name=mytextarea size=3 multiple> I couldn't find anything in the documentation. Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/187431-zend-framework-formselect-multi-select/ Share on other sites More sharing options...
_tina_ Posted January 6, 2010 Author Share Posted January 6, 2010 Nevermind, figured it out. <?=$this->formSelect('var', $this->var, array('id'=>'var', 'multiple' => 'yes', 'size' => '3'), $var)?> Thanks Quote Link to comment https://forums.phpfreaks.com/topic/187431-zend-framework-formselect-multi-select/#findComment-989781 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.