title: Zend Framework How to list form elements using partialLoop
body: <p>I'm new to Zend Framework and not sure if this this posible.</p>
  
  <p>I want to use partialloop for creating a table with the form fields.</p>
  
  <p>I'm using this code in the view:</p>
  
  <pre><code>&lt;!-- code in views/scripts/request/edit.phtml --&gt;
  
  &lt;table cellpadding='0' cellspacing='0'&gt;
      &lt;tr&gt;
          &lt;th&gt;Cliente&lt;/th&gt;
          &lt;th&gt;Descripcion&lt;/th&gt;
      &lt;/tr&gt;        
      &lt;?php echo $this-&gt;partialLoop('partials/_solicitud-row.phtml', $this-&gt;form); ?&gt;        
  &lt;/table&gt;
  </code></pre>
  
  <p>And in the partial i tried this:</p>
  
  <pre><code>&lt;!-- code in views/scripts/partials/_solicitud-row.phtml --&gt;
  &lt;tr&gt;    
  &lt;td&gt;&lt;?php  echo $this-&gt;key . "=" . $this-&gt;value; ?&gt;&lt;/td&gt;
  
  &lt;/tr&gt;
  </code></pre>
  
  <p>And this</p>
  
  <pre><code> &lt;!-- code in views/scripts/partials/_solicitud-row.phtml --&gt;
  &lt;tr&gt;     
  &lt;td&gt;&lt;?php  echo $this-&gt;Descripcion; ?&gt;&lt;/td&gt;
  &lt;td&gt;&lt;?php  echo $this-&gt;cliente; ?&gt;&lt;/td&gt;
  &lt;td&gt;&lt;?php  echo $this-&gt;FechaHoraCreada; ?&gt;&lt;/td&gt;
  &lt;td&gt;&lt;?php  echo $this-&gt;Monto; ?&gt;&lt;/td&gt;
  
  &lt;/tr&gt;
  </code></pre>
  
  <p>Using this I get the titles of the table (<code>&lt;tr&gt;&lt;th&gt;Cliente&lt;/th&gt;&lt;th&gt;Descripcion&lt;/th&gt;&lt;/tr&gt;</code>) but nothing more. I know the partial is processed because using the first partial the equals "=" are listed.</p>
  
  <p>Does it make sense what I'm doing? is there a way to access the form elements?
  I tried other options like $this->getElement.., but didn't work </p>
  
  <p>Thanks!</p>