0

i'm using a workflow rule to update a rich text field to be highlighted red (or just text red) and bold. and i'm struggling with how to get the html into the formula?

IF(STATUS == 'New', <html><body><div style="color: red;"><b>Urgent</b></div></body></html>')

any ideas how to execute this correctly?

1 Answer 1

0

You can use like below. if name is test then rich text field will be red otherwise green color.

IF(Name== 'test', '<html><body><div style="color: red;"><b>Urgent</b></div></body></html>', '<html><body><div style="color: green;"><b>Urgent</b></div></body></html>')
2
  • if i want the text to be just normal, no changes for the else, what should i put? thanks!
    – david
    Commented Sep 10, 2019 at 15:05
  • Remove style tag from div. It will work. Commented Sep 10, 2019 at 15:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .