title: How to add an action to the button in Controller of magento?
body: <pre><code> $fieldset-&gt;addField('test_connection', 'submit', array(
              'label'     =&gt; Mage::helper('rpos_connect')-&gt;__('Test Connection'),
              'required'  =&gt; true,
              'value'  =&gt; 'Test',
              'after_element_html' =&gt; '',
              'tabindex' =&gt; 1
  
          ));
  </code></pre>
  
  <p>This is my PHP code to prepare a form with a button in my module block folder.Now I want this to call a function named <code>testAction()</code> in my Controller class.</p>