Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Add new line in email content - notification

subramani
Mega Contributor

Hi all,

How to make the fields to print in new line when we use email script.

template.print("<br />") is not working.

6 REPLIES 6

Mihir Mohanta
Kilo Sage

Try


template.print("<br>");


Alikutty A
Tera Sage

Hi,



You may need to use <br /> twice to actually start the new line as new paragraph.



<br /> should work, please check if this is what you are looking for?



template.print("<br /> <br />");



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response


Hi Alikutty,



template.print("<br /> <br />");


worked in my email script.



Thanks for posting!



Regards,



Chris


SNOW User8
Giga Guru

Activate "Newlines to HTML" in notification email script. So that you can use "template.print("<br />") "