Change record status: 
Project: 
Introduced in branch: 
8.x-5.x
Introduced in version: 
8.x-5.0-rc3
Description: 

The Token module includes support for token validation handling via token_element_validate(). If the token module is installed all webform tokens will be validated.

Token validation will account for any minor mistakes or typos including using [webform-submission:*] instead of [webform_submission:*].

Impacts: 
Site builders, administrators, editors
Module developers

Comments

gabrieldrupal’s picture

Default Webform tokens are not validating therefore making it impossible to even change to Custom Body, let alone save any form changes. The "-" needs to be replaced with "_".

Body default value (text) is using the following invalid tokens: [webform-submission:created], [webform-submission:user], [webform-submission:values]