Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
From the webform module I receive more or less empty mails like this:
------
Submitted on %date
Submitted by user: %username
Submitted values are: %email_values
The results of this submission may be viewed at: %submission_url
------
When I'm checking the result list via webfrontend it looks normal and all content is available.
Any hints?
Thanks!
Comments
Comment #2
DanChadwick CreditAttribution: DanChadwick commentedThose are Drupal 6 style tokens. Install the token modules, and use the token browser to update them to Drupal 7 style tokens, such as [current-user:name].
Comment #3
warhammer73 CreditAttribution: warhammer73 commented???
The token modules are installed.
But what is the token browser and what should I update with the browser?
Comment #4
DanChadwick CreditAttribution: DanChadwick commentedVisit where you have used the token. Replace the old %XXXX style token with the Drupal 7 [XXXX:YYY} style tokens. Each place where you can type a token has a link to "View available tokens". Click this to open the token browser so you can choose the new style token.
It looks like you are updating an old webform to 7.x-4.x. Read this: https://www.drupal.org/node/1609324#tokens
Comment #5
warhammer73 CreditAttribution: warhammer73 commentedOk, thanks.
If I understand it right I need more or less for all fields(Except date):
[current-page:query:?]
With replacement of ? with the fieldnames?
Comment #6
warhammer73 CreditAttribution: warhammer73 commentedAfter some tests.
I was wrong.
It was not a problem of the Form (Not necessary to change anything on the form).
I created long time ago a new mail template. This template must be changed to the new token.
Now it's running without problems.