An unpopulated element, when added to an Email Handler as a token will result in the token itself being rendered in the email, rather than being left empty. A new token should be added (e.g. [webform_submission:values:tax_auditor:clear]) that will clear the token if the token can not be converted to a value.

CommentFileSizeAuthor
#2 2939302-2.patch3.74 KBjrockowitz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

brooke_heaton created an issue. See original summary.

jrockowitz’s picture

Status: Active » Needs review
FileSize
3.74 KB
jrockowitz’s picture

Status: Needs review » Reviewed & tested by the community

  • jrockowitz committed 04a9f42 on 8.x-5.x
    Issue #2939302 by jrockowitz: Empty element values print token as string...
jrockowitz’s picture

Status: Reviewed & tested by the community » Fixed

I committed the patch. Please download the latest dev release to review.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.