0
Color field to change the text color and the backround for the formula field.
Hello
I want to use the color field to change the text color and the backround for the formula field.
for exemple, there is a Formula field, and next to it a Color field. When changing the value of the Color field, the font style in the Formula field beckground should change.
Has anyone tried to do this before? Is it possible?
6 replies
-
Hi,
I do not know how to alter directly the style of the formula field based on color field value but you can have similar results via html():
html("<p style='color:" + Color + "'>Text</p>")
-
You can use this, with two colorfields an one numberfield.
styled(text(numberfield), colorfield1, colorfield2, "")
Content aside
- Status Answered
- 4 mths agoLast active
- 6Replies
- 54Views
-
4
Following