I have a Zend_Form with Zend_Form_Select element. I populate it from array (code inside the *Application_Form_MyForm extends Zend_Form* class):
$options = array('first option', 'second option', 'third option');
$this->getElement('mySelect')->addMultiOptions($options);
How can I choose which value is gonna be selected automatically, as in "<option value="second option" selected="selected">second option</option>" ?
Thanks!