I have created a form using webform in Drupal 6. I have set a action URL like node/15
a new node. When form is submitted it will be redirect this node. I want to display all values which are filled by user at this page. Please help.
Thank you
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this communityYou can use hook_form_alter
and add your custom submit handler.
/**
* Implements hook_form().
*/
function hook_form_alter(&$form, $form_state, $form_id) {
if ($form_id == 'WEBFORM_ID') {
$form['#submit'][] = 'custom_webfrom_submit';
}
}
/**
* Implements webform custom handler
*/
function custom_webfrom_submit($form, &$form_state){
//get the values here $form_state['values']
}