Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Search API attachments 10.0.13 — Minor update available for module search_api_attachments (10.0.13). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Mismatched entity and/or field definitions 1.2.1 — Minor update available for module meaofd (1.2.1). Release: Lupus Custom Elements Renderer 2.8.1 — Minor update available for module lupus_ce_renderer (2.8.1). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Webform Labels and Values Tokens

Security covered Drupal 10–11

Part of the Webform ecosystem · 216 projects

View on drupal.org

This module provides tokens for webform submissions that display both the label and the value of form fields. These tokens are useful for email notifications or other integrations, especially when combined with options to exclude empty fields, preventing leftover labels without corresponding values.

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 :html to the end of the token to output the values as HTML
  • Add :text to 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.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Aug 2026
Latest release
2 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.0 Stable 10–11 Aug 7, 2026
1.0.x-dev Dev 10–11 Aug 7, 2026