Now that tokens are in Webform (#1001798: Rewrite token replacement system to use D7 tokens), the goal of this module is to become a part of Webform. Until then, the planned 7.x-2.x branch will enhance Webform's own tokens. See #1606970: [Meta] Future of Webform Tokens for further discussion.
Webform Tokens provides tokens for user form submissions for forms created with the Webform module. The tokens can then be used anywhere tokens are supported. The Token module is required to see what tokens are available.
For example, the Fill PDF module makes PDFs based on the token values of a given node. With Webform Tokens installed, Fill PDF can make PDFs using the values submitted to a Webform.
Webform Tokens currently only exposes the values from the user's most recent submission to a given Webform.
Tokens are generated by this module in this form:
form_key is configured in Webform under the Advanced settings for each form component.
For example, a typical form might result in these tokens:
In addition, the metadata that comes with each submission is also exposed. Examples:
[webform:meta-nid] Node ID of the form
[webform:meta-sid] Submission ID of this submission
[webform:meta-submitted] POSIX timestamp of the submission
[webform:meta-uid] User ID of the user submitting the form
[webform:meta-remote_addr] IP address of the user submitting the form
The module that asked you to download this one should provide instructions below the form field where you are using Webform Tokens.
Webform Rules warning
This module's tokens conflict with Webform Rules. From versions after, but not including 7.x-1.2, the token key will change from
webform will continue to work unless you have Webform Rules enabled, in which case it's disabled to prevent conflicts.
This module is NOT intended for use within Webform at this time. It is for other modules to use tokens from Webforms in other contexts. Only install this module if another module depends on it.
This module is supported for Drupal 7. For Drupal 6, the code is integrated into Fill PDF. There is also an unsupported Drupal 6 version which you can find in the version control repository.