title: Zend Framework 2 - Annotation forms - Multiple forms in one view
body: <p>I'm using <code>ZF2</code> and <code>AnnotationForms</code>. This worked great for me until now.</p>
  
  <p>I have this exception that I want to display three forms in one view.</p>
  
  <p>Basically I do the following:</p>
  
  <pre><code>&lt;form&gt;
    &lt;?php for field in form1: echo field ?&gt;
    &lt;?php for field in form2: echo field ?&gt;
    &lt;?php for field in form3: echo field ?&gt;
    &lt;input type="submit" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>My problem is that some of these forms have fields with the same name (eg. "city"). So some of the input data gets lost.</p>
  
  <p>I thought about renaming the fields (name-attribute in HTML) but then the mapping in the action with <code>$entity-&gt;setData()</code> won't work...</p>
  
  <p>Does anyone has an idea how I can solve this without the need to build my whole form staticly in plain html?</p>