Text Expression - Change colour based off of value

80
0
01-18-2022 06:46 PM
elpinguino
Occasional Contributor II

In Experience Builder, is it possible for text to change colour based off of the value?

For example, I'd like the text widget to turn green if a form is complete and red if it is still to do. How do I write this in the Dynamic content> Expression section?

elpinguino_0-1642560305875.png

$feature.ConsentFormStatus

Code - To do, In progress, Complete

 

 

0 Kudos
0 Replies