2

I am trying to print the webform submission label and value from tokens in confirmation email. The problem is that the label of the form element is not appearing, only the value. Tried with:

[webform_submission:values:email] [webform_submission:values:email:withlabel] [webform_submission:values:format:html]

When I print all the elements with [webform_submission:values] , I am able to see also the labels, but the formatting is not so good, so I want to print the values line by line.

0

My solution is simply manually typing out relevant labels for each line. I just use "Custom body"

For example:

Name: [webform_submission:values:navn:value]

Email: [webform_submission:values:email:value]

Date: [current-date:html_date]

Unless you change your form often i find that to be the easiest way to format it exactly as you want it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.