Include html in a text formula

Jack SanfordJack Sanford San Antonio, TX 💎💎
edited October 17, 2019 in Questions
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

Comments

  • Jack SanfordJack Sanford San Antonio, TX 💎💎
    edited October 17, 2019
    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}}
  • edited September 3, 2019
    Sweet! I like the intuitive nature of that.
  • Luzie BaumgartLuzie Baumgart 🛠️ 
    edited February 13, 2019
    Thanks for Sharing, Jack!
  • Jack SanfordJack Sanford San Antonio, TX 💎💎
    edited October 17, 2019
    correcting typo in the above, missed the closing ">"

    "<html><b></html>"+{{fieldname}}+"<html></b><br></html>"+{{fieldname}}
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!