Drupal - Webform组件值的令牌
有没有办法设置Webform,以便我可以将组件字段提交到令牌以供提交电子邮件中使用?
Is there a way to set up a Webform such that I can turn component field submissions into tokens for use in the submission email?
例如,我想在电子邮件主题行中包含来自[电子邮件地址]的邮件。默认选项仅允许仅包含电子邮件中的组件字段(主题:[email])或仅自定义文本。
For example, I want to include "Message from [email address]" in the email subject line. The default options only allow for including only the component field in the email (subject: [email]), or only custom text.
有没有办法可以将组件字段提交到电子邮件中使用的令牌?看起来有一个将webform项目转换成标记的模块,但它不能在Webform中使用。
Is there a way I can turn the component field submission into a token for use in the email? Looks like there's a module for turning webform items into tokens, but it's not for use within webform.
每当你想获得提交的字段值时,%value [key]
我从一个随机的搜索中找到它,把我带到这里: http://drupal.org/node/1010648 。
感觉像%value [key]
应该在webform管理界面的电子邮件部分的令牌帮助字典中,这是一个笨蛋找到。
Figured it out - use %value[key]
whenever you want to get a submitted field value. I found it from a random search that brought me here: http://drupal.org/node/1010648.
Feels like %value[key]
should be in the Token help dictionary in the email section of the webform admin UI this was a botch to find.