I have upgraded to webform 6.x-3.2 and notices that the $cid[1] no longer dynamically retrieves the form component. How can we now dynamically include more than one variable in the title of the email confirmation? I used to do something like this to include the person's name and the company in the 'E-mail subject' field:
Request from $cid[1] $cid[2] ($cid[3])
Where...
$cid[1] = First Name form component
$cid[2] = Last Name form component
$cid[3] = Company form component
All responses and replies are greatly appreciated since now all of our webform email responses now show this as the title:
Request from $cid[1] $cid[2] ($cid[3])
instead of something like this...
Request from John Smith (ABC Company, Inc)
Thank you.
Comments
A bit of a fix, for those still looking
%email[field_name] works, sorta. It adds the component header, though. So %email[name] might show Name: John Doe.
Still, it's as far as I've gone in several hours of searching. %email_values pretty much shows the whole email, if you're wondering. Maybe someone could list all of the available Tokens?
EDIT: If you look in operations, there IS a list which is:
You may use special tokens in this field that will be replaced with dynamic values.
Component variables
* %submission_url - The URL for viewing the completed submission.
* %email_values - All included components in a hierarchical structure.
* %email[key] - A formatted value and field label. Elements may be accessed such as %email[fieldset_a][key_b]. Do not include quotes.
* %value[key] - A value without additional formatting. Elements may be accessed such as %value[fieldset_a][key_b]. Do not include quotes.
Basic variables
* %username
* %useremail
* %ip_address
* %site
* %date