Provides tokens for Webform submissions that print both labels and values, to be used in e.g. mail handlers. This module is a replacement for the [webform_submission:values:element_key:withlabel] tokens that used to exist in the Drupal 7 version of the module.
These tokens are especially useful in combination with the Exclude empty elements option, because this way both the label and value are excluded when the value is empty and you're not left with dangling labels.
Features
- Use
[webform_submission:labels_values]to output all values with their labels - Use
[webform_submission:labels_values:element_key]to output the label and value of a single element - Use
[webform_submission:labels_values:element_key,another_element_key]to output the labels and values of multiple elements - Add
:htmlto the end of the token to output the values as HTML - Add
:textto the end of the token to output the values as text
Post-Installation
Once the module is enabled you can start to use the tokens, there is no additional configuration necessary.
Supporting organizations:
Development
Project information
- Project categories: User engagement
- Ecosystem: Webform
3 sites report using this module
- By dieterholvoet on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
