title: Additional submit event handler for webform in Drupal 6
body: <p>Im using Drupal 6.19 and the webform module on my site.On a particular form,i want to do some additional processing with the values entered,so i created a module and implemented hook_form_alter, and added my own function called mymodule_webform_submit to the list of submit event handlers.</p>
  
  <p>Suppose i have two fields in the form having field key values name and address respectively. How to print the values of those fields in mymodule_webform_submit function ?. Some example would be really appreciated. Below is my code so far.</p>
  
  <pre><code>&lt;?php
      function mymodule_form_alter(&amp;$form, &amp;$form_state, $form_id) {
        if($form_id == 'webform_client_form_8') {
  
           $form['#submit'][] = 'mymodule_webform_submit';
  
        }
  
      }
  
      function mymodule_webform_submit(&amp;$form,&amp;$form_state) {
        drupal_set_message($form_state['values']['name']);
  
      }
  
  
  ?&gt;
  </code></pre>
  
  <p>Please help
  Thank You</p>