The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (Linux)
|
Swift Mailer and Checkbox - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8) +--- Forum: Modules (https://forums.formtools.org/forumdisplay.php?fid=16) +--- Thread: Swift Mailer and Checkbox (/showthread.php?tid=2962) |
Swift Mailer and Checkbox - Karsten - Mar 20th, 2014 I want to send an attachment file only when the radio button ist active. I try to do this over the email template like this: {if $ANSWER_post} <tr> <td style="font-weight: bold">Angebot per Post</td> {$attachment file="../../PDF/holzstatik.pdf"} <td>{$ANSWER_post}</td> </tr> But the attachment file is always send. Is there a solution. I don't found it in the forum. I have found some statements in the forum, that to do this over filters is the better way. |