Skip to main content
Question

Syntax Error

  • December 12, 2023
  • 0 replies
  • 152 views

Forum|alt.badge.img+8

I have the following code on a formula field to highlight a checkbox field if it's false. I copied this code directly from the Quickbase article about it so I cannot figure out why it wouldn't work. The first backslash highlighted below is the one producing the error. Please help!

If([Send Letter]=false, "<div style=\"color:white;background-color:red;\"> false</div>, [Send letter] )



------------------------------
Hannah Engelson
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+24

maybe this?

If([Send Letter]=false, "<div style=\"color:white;background-color:red;\"> false</div>", [Send letter] )

adding a closing " after the last div?



------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------