NathanHawe
4 years agoQrew Cadet
Re: Formula RTF - Syntax Error
Maybe it's a copy-paste issue but in the code you shared there is a missing semicolon on the very last line. It should be:
------------------------------
Nathan Hawe
------------------------------
var text Discharged= If(
[Status] = "Discharged", "<div style=\"" & $style & " background: #F95A5A; border-radius: 0px 12.5px 12.5px 0px; \"><p>Discharged</p></div>",
"<div style=\"" & $style & " background: #C1C3C4; border-radius: \"><p>Discharged</p></div>");
------------------------------
Nathan Hawe
------------------------------