Echoing all the variables available in either of these boxes:

echo '<pre>';
print_r($form_values);
print_r($form);
print_r($form_state);
print_r($_GET);
print_r($_POST);
print_r($_SESSION);
echo '</pre>';

The "sid" variable is not set. It is set on the redirect page however. In Webform 2.x this was working fine.

Comments

quicksketch’s picture

Category: bug » support
Status: Active » Closed (fixed)

That is not true because the submission hasn't been saved when Additional Validation/Processing is called. This has always been the case. The entire point of additional processing was to allow the submission to be changed before it was saved to the database.

codevoice’s picture

That may be true in 3.x, but in 2.x it worked fine. Is there another way to solve this then: I am generating an email confirmation based on the submitted values, and I'd like to include some reference to the webform results.