title: How to configure submit elements in one place in ZF2
body: <p>I create submit buttons for my ZF2 forms using array notation similar to the <a href="http://framework.zend.com/manual/current/en/user-guide/forms-and-actions.html" rel="nofollow">skeleton application tutorial</a>:</p>
  
  <pre><code>     $this-&gt;add(array(
           'name' =&gt; 'submit',
           'type' =&gt; 'Submit',
           'attributes' =&gt; array(
               'value' =&gt; 'Go',
               'id' =&gt; 'submitbutton',
           ),
       ));
  </code></pre>
  
  <p>If I expand my project from lists of Albums to lists of Books, lists of DVDs, lists of Pets, lists of YuGiOhCards, etc.; each new module requires its own form.  It's easy enough to rewrite the same code to add a submit button to each form; but to ensure consistency, it makes sense to code a submit button once in a single location and call it from each of the form classes.</p>
  
  <p>If I want to reuse a "global" submit button, where do I code it and how do I call it?</p>