Need help with template.print statement

kchorny
Tera Guru

I want to do something seemingly very simple, yet I'm struggling with it.  I want to put a few lines of text in a mail script, so that I can insert the script into notifications and if something changes, I only have to change it in one place rather than 50 or 60 places.

Here's what I want the results to be in Arial font, 12px:

Thank you!

ACME Support

Email: support@acme.com

Phone: 800-555-5555

 

do not want the spaces between the lines, but this editor is not letting me remove them.

Please help me construct a template.print statement to accomplish this goal.  I have tried multiple things but am not getting what I'm after.

Thanks in advance.

Karla

1 ACCEPTED SOLUTION

ccajohnson
Kilo Sage

template.print("<p style='font-family: Arial, sans-serif; font-size: 12px;'>Thank you!<br/>ACME Support<br/>Email: support@acme.com<br/>Phone: 800-555-5555</p>");

View solution in original post

5 REPLIES 5

LOL, yeh, what ccajohnson said ^. his answer should be correct.