Form submit hook not executing In a drupal 6 custom module I built, I have a menu callback which contains this:

function mymodule_register_confirmation() {
  return drupal_get_form('mymodule_newsletter_form');
}


I have the function that returns the form:

function mymodule_newsletter_form(&amp;$form_state) {
  $form = array();

  $form['logo'] = array(
    '#type' =&gt; 'markup',
    '#value' =&gt; '&lt;div class="logo-header"&gt;',
  );

  ...

  $form['submit'] = array(
    '#type' =&gt; 'submit',
    '#value' =&gt; t('Submit')
  );

  ...

  return $form;
}


I also built the function for the submit hook of newsletter form:

function mymodule_newsletter_form_submit($form, &amp;$form_state) {
    die('I am in the submit hook!!');
}


The page shows as expected and contains the newsletter form exactly as I want. However, when I click the submit button, it goes to the action of the form (as expected) but the submit hook I built never executes. I even tried adding the following to the function that returns the form:

$form['submit']['#executes_submit_callback'] = TRUE;
$form['#submit'][] = 'mymodule_newsletter_form_submit';


What am I doing wrong?

Thanks in advance.
Ahhhh, found the problem!

I had to specify manually a redirect to the form:

$form['#redirect'] = ''; // Redirects to the home page


This way the validate and submit hooks are called appropriately and then it redirects to the home page.

Thank you all for all your replies. I appreciate it.

Cheers.