How do I retrieve values from a webform? I can see the values submitted in the $_POST, so I know they are there, but when I uses a submit handler to retrieve them, I get NULL. I'm fairly new to PHP so not sure if it's a simple syntax mistake or something more. Thanks.

function zendesk_forms_form_alter(&amp;$form, &amp;$form_state, $form_id){

  if ($form_id == 'webform_client_form_47') {

    $form['#submit'][] = "zendesk_forms_support_form_submit_handler";
  }
}

function zendesk_forms_support_form_submit_handler($form, &amp;$form_state) {
  form');
  $ticket = array(
      'description' =&gt; $form_state['values']['description'],
      'subject' =&gt; $form_state['values']['subject'],
  );
  echo $ticket;
Try this:

$ticket = array(
  'description' =&gt; $form_state['values']['submitted']['description'], 
  'subject' =&gt; $form_state['values']['submitted']['subject'],
);