title: How to add a button in admin form?
body: <p>I have add a button within admin form as follows.</p>
  
  <pre><code>$fieldset-&gt;addField('registered', 'button', array(
  'label' =&gt; Mage::helper('core')-&gt;__('Send e-mail to all registered customers'),
  'value' =&gt; Mage::helper('core')-&gt;__('Button Caption'),
  'name'  =&gt; 'registered',
  'onclick' =&gt; "setLocation('{$this-&gt;getUrl('*/*/registeremail')}')",
  ));
  </code></pre>
  
  <p>The functionality of this field working properly but the button does not appear properly. It appears as follows.</p>
  
  <p><a href="https://i.stack.imgur.com/0CvEA.png" rel="nofollow"><img src="https://i.stack.imgur.com/0CvEA.png" alt="enter image description here"></a></p>
  
  <p>How to appear this button as normal magento button?</p>
  
  <p>I have tried with </p>
  
  <p><code>'after_element_html' =&gt; '&lt;button type="button" onclick="setLocation('{$this-&gt;getUrl('*/*/registeremail')}')"&gt;All Registered&lt;/button&gt;'</code></p>
  
  <p>But onclick call is wrong.</p>