Select to view content in your preferred language

Text Expression - Change colour based off of value

378
0
01-18-2022 06:46 PM
elpinguino
Frequent Contributor

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