title: Zend Form not working properly, can't understand the concept of documentation
body: <p>I am new born to zend. Was going through zend form documentation and couldn't understand one things. having a project on zend with oracle so my life is already messed up ;-) . I was stucked in a few basic problem of Zend_Form class. The problem is: when we are setting up a form in action and it is posted back to that action only, obviously new form object will get created and my posted value will get disappeared like smoke. So how to keep them alive. I got a substitute of <code>$this-&gt;getrequest()-&gt;getparams()</code> but in zend documentation and where ever I saw for examples they all have same flow. They are not using <code>getparams()</code> as option. Let me take it through code, to get very clear idea.</p>
  
  <pre><code>public function indexAction()
      {
          $this-&gt;view-&gt;title = 'Welcome to CashTray ';       // passing title to view
          // creating cashtray mapper object
          $cashTrayMapper = new Application_Model_CashtrayMapper();
  
          // search form object
  /* It will reset the object, a obvious thing*/
              $searchForm = new Application_Form_Cashtray_Search();                       // creating search form object
  
          if ($this-&gt;getRequest()-&gt;isPost())                                          // post request found
          {
              var_dump($searchForm-&gt;getValues(), $this-&gt;getRequest()-&gt;getparams());die;                
          }
          else
          {
  
              $this-&gt;view-&gt;form = $searchForm;
              // retrieving cashtray list
              $this-&gt;view-&gt;entries = $cashTrayMapper-&gt;fetchAll();                               // passing form to view
          }
  
  
      }
  </code></pre>
  
  <p>OUTPUT:</p>
  
  <pre><code>array(2) { ["client"]=&gt; string(0) "" ["offset"]=&gt; string(0) "" } 
  
  array(6) { ["controller"]=&gt; string(8) "cashtray" ["action"]=&gt; string(5) "index" ["module"]=&gt; string(7) "default" ["client"]=&gt; string(4) "1001" ["offset"]=&gt; string(3) "214" ["submit"]=&gt; string(6) "Search" } 
  </code></pre>
  
  <p>Now we can see that form is posted, values are there but why I can't get it through <code>$searchForm-&gt;getValues();</code> In examples they are having <code>$form</code> instead of <code>$searchForm</code> which I don't think should be the problem.</p>