Hello,
I use webform2pdf to generate a pdf file from a webform.
When I download the pdf file, there is no problem.
BUT, If I select "join pdf file to mail" the pdf file is joined but I don't have the value of the field but the token. For example I receive %value[key] instead of 12345.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | webform_submission-13529-35.pdf | 47.23 KB | abryenton@gmail.com |
Comments
Comment #1
danihobbs commentedI am having a similar issue with %value[key] not working at all, even without emails.
Comment #2
danihobbs commentedJust for those that might have the same issue %value[fieldset_a][key_b] worked for me - I had my values in a fieldset
Comment #3
EKK commentedI have same proplem. Only date field print in pdf document if I send it in email. There is only empty table. But if I download pdf from site, it works great. Help anyone? (Drupal 7x).
-EKK-
Comment #4
HashKey commentedComment #5
abryenton@gmail.com commentedHi,
I am having the exact same issue and upgrading to the dev module gave me errors galore.
Any suggestions? We would really love to utilize this module.
Thanks!
Comment #6
HashKey commentedHello abryenton. Try to use [submission:values:your_field] instead of %value[your_field].
Regards,
HashKey
Comment #7
abryenton@gmail.com commentedHi,
Thanks for the quick reply!
I have been using that format in the "Content of the PDF document" section.
This is what I have:
-----
This is a test template
[submission:values:first_name]
This is a test.
-----
I've attached the outputted PDF that is sent in the email.
If I put just [submission:values] it will print the labels of the fields in the PDF.
Thanks,
Aaron
Comment #9
cgee01 commentedI have absolutly the same bug like abryenton and EKK..
Is there a patch for this bug?
Comment #10
bendev commentedHello,
[submission:values:first_name] works in download document but not in pdf attached to emails
%value[key] never works
thanks
Comment #11
bendev commentedComment #12
bendev commentedsorry my mistake, the issue is solved in the dev version 7.x-4.x-dev for webform7.x-4.2
[submission:values:first_name] works like a charm
Comment #13
Debra G commentedNOT WORKING AGAIN (or it's not working in my Drupal 7 environment).
I'm using the most recent dev versions of webform and webform2pdf
This works (prints all fields):
[submission:values]
These don't work (print a blank page):
[submission:values:$key] (in other words: [submission:values:participant_name])
[submission:values:$key:key] ([submission:values:participant_name:key])
Is anyone else having this trouble today?
Comment #14
kyleheney commentedI'm having an issue as well. I have created a table in the "Content of the PDF" area. Only the first row of the table is outputted correctly. The rest is blank rows/columns. Very strange.
Comment #16
avpadernoI am removing issue tags used from one to four issues. I apologize for bumping the issue.