Include html in a text formula

  • 1
  • Question
  • Updated 3 days ago
  • Answered
Trying to figure out how to include html like <br> or styling in a UI formula field returning text. 

Example: {{fieldname}}+"some other text"+"<br>"+{{fieldname}} doesn't work
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,826 Points 5k badge 2x thumb

Posted 4 days ago

  • 1
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,826 Points 5k badge 2x thumb
Here's how in case anyone else has this issue, use <html></html> tags around your html inside the quotes. 

Example: "<html><b></html>"+{{fieldname}}+"<html></b><br></html"+{{fieldname}}
Photo of Mike Dwyer

Mike Dwyer, Champion

  • 3,886 Points 3k badge 2x thumb
Sweet! I like the intuitive nature of that.
Photo of Luzie Baumgart

Luzie Baumgart, Official Rep

  • 1,960 Points 1k badge 2x thumb
Thanks for Sharing, Jack!