Drupal is a registered trademark of Dries Buytaert
Release: Leaflet 10.4.11 Minor update available for module leaflet (10.4.11). Release: Session Inspector 1.0.8 Minor update available for module session_inspector (1.0.8). Release: Migrate QA 2.0.4 Minor update available for module migrate_qa (2.0.4). Release: CKEditor Description List 3.0.0 Major update available for module ckeditor_descriptionlist (3.0.0). Release: FlowDrop 2.4.0 Minor update available for module flowdrop (2.4.0). Release: JWT Token Refresh 1.0.4 Minor update available for module jwt_token_refresh (1.0.4). Release: ConReg 1.0.0-beta1 First beta version released for module conreg (1.0.0-beta1). Release: AI Image Studio 1.0.0-beta8 New beta version released for module ai_image_studio (1.0.0-beta8). Usage Milestone: Statistics Counter Module statistics_counter crossed 1,000 active installs. Module Revived: Decoupled Router 2.0.7 Module decoupled_router updated after 11 months of inactivity (2.0.7).

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.

Activity

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

Releases

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