I wants to put in the custom E-Mail message Tokens but if i submit a form the tokens are empty in the E-Mail message. The webform is enables as block on a node type.

I use for example following token in E-Mail message:
[submission:values:salutation] (that is only Salutation Dropdown menu for example)

I also tried [submission:salutation] but no solution works. What make i wrong?

Comments

danchadwick’s picture

Status: Active » Postponed (maintainer needs more info)

Did you use "Browse available tokens"? In your example, salutation must be the form key of the component you want, and it must not be indented within a fieldset.

Do all tokens not work, or do some of them work? If some work, what's different?

How about non-webform tokens? Do they work.

What if you visit the webform node and try sending e-mail from there?

Any unique language settings?

You're going to have to debug more on your own to supply enough information for someone to help you. Tokens are working for thousands of sites. There is something different about your site (which could be a bug, and installation issue, a module conflict, who knows).

Good luck.

alexander.sibert’s picture

Ah thank you. I have the form fields grouped in a fieldset. I have now for example moved the "salutation" field from field to non-fieldset and now it works.

danchadwick’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)