title: Setting default selected option for Zend_Form_Element_Select
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1588272/zend-framework-set-selected-value-in-select-box-dropdown-list">Zend Framework - Set &#39;selected&#39; value in select box dropdown list</a>  </p>
  </blockquote>
  
  
  
  <p>I have a Zend_Form with Zend_Form_Select element. I populate it from array (code inside the <em>Application_Form_MyForm extends Zend_Form</em> class):</p>
  
  <pre><code>$options = array('first option', 'second option', 'third option');
  $this-&gt;getElement('mySelect')-&gt;addMultiOptions($options);
  </code></pre>
  
  <p>How can I choose which value is gonna be selected automatically, as in <code>"&lt;option value="second option" selected="selected"&gt;second option&lt;/option&gt;" ?</code>
  Thanks!</p>