On this page
Webform Submission Tokens
Webform exposes a number of tokens for the submission "just made" so that details of this submission can be accessed. For example, you may rename a file that is being uploaded on a submission using another field, or fields, on the same submission for the filename.
Accessing Submission content
The [submission:values:?] token needs a little more explanation though. The ? should be replaced with the machine_name for the field that you wish to access and you can add modifiers to that also. The "gotcha" here is if the field you are accessing is nested in other elements even if those elements don't store data. E.g. adding your fieldset machine names to the token also, so
[submission:values:fieldset:field] or [submission:values:fieldset_1:fieldset_2:fieldset_3:fieldset_4:field] all need to be included.
Example
In the case of the screen captured field above the token would be [submission:values:required_information_contained_in_your_email:reference_number]
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion