title: ZendFramework Form: Change select to input type text if verification fails
body: <p>EDIT: Okay, I've stripped this down to the bare minimum.</p>
  
  <p>The below code is how I would set up what I'm trying to accomplish in straight html/php.</p>
  
  <p>If the form has been submitted and the verification of fields does not pass, a text field appears, otherwise, if the form has NOT been submitted, a dropdown is offered.</p>
  
  <p>html/php:</p>
  
  <pre><code>&lt;form method="post" action=""&gt;
    &lt;div class="state"&gt;
        &lt;?php
            if(!$_POST['submit']){
                // show the select list of states.
                echo '&lt;select name="state"&gt;
                        &lt;option&gt;list of all states&lt;/option&gt;
                      &lt;/select&gt;';
            }else{
                // show text input box
                echo '&lt;input type="text" value="'.$_POST['select'].'" name="state" /&gt;';
            }
        ?&gt;
    &lt;/div&gt;
    &lt;input type="submit" name="submit" value="submit" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>But I have no clue how I would set this up with the ZendFramework Forms Class, or how to tap into it to even begin to do this.</p>