Getting all the Submitted field values after the Webform is just submitted in Drupal 7? I created a webform for which I need all the submitted fields with values on the confirmation page after the user submitted the form. I am using WebForm 7.3.

The user when confirms the information, can make any final change before submitting it (updating the existing one, I guess).

This is what I used and placed it in the template.php but sadly it doesn't work:-

function user_register_webform_submission_insert($node, $submission){
// Load information about form components
$comps = $node-&gt;webform['components'];
$fields = array();

//Extract the component info to get form_key=&gt;cid to resolve relation
foreach($comps as $cid =&gt; $comp_info){
    $fields[$comp_info['form_key']] = $cid;
}

// Load the submitted data (field values)
$data = $submission-&gt;data;

//Prepare a user info
$user = array(
    'mail' =&gt; $data[$fields['mail']]['value'][0],
    'name' =&gt; $data[$fields['name']]['value'][0],
    'pass' =&gt; user_password(8),
    'status' =&gt; 1,
    'init' =&gt; $data[$fields['mail']]['value'][0],
    'roles' =&gt; array(2, 3),
);

$account = user_save(null, $user);  
}
If you are able to upgrade Webforms, preview functionality is now part of the 7.x-4.x branch of the Webform Module. There is an involved discussion about it here: Summary/review/preview page before final submission in multistep forms.