
I have a field heave lead object populated by a web-to-lead form which will inevitably be submitted with several blank fields.
I'd like to send a confirmation e-mail to the sender to confirm receipt, but in doing so, I don't want to include the long list of empty fields in the e-mail. (After all, who wants null info?)
Is it possible to set up a conditional statement in an e-mail template? Will the HTML template support javascript, or do I need to look deeper in to VisualForce? I'm stumped.
Thanks for the help. I appreaciate it.
-Adam
1 Antwort
I have done IF statements in a visual force template and it works fine. We have several templates that change entire content sections based on field criteria. I have never tried with a pure HTML template though so not sure if that works.