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?

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>')
  • if i want the text to be just normal, no changes for the else, what should i put? thanks! – david Sep 10 at 15:05
  • Remove style tag from div. It will work. – Dhanik Lal Sahni Sep 10 at 15:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.