I know I can create and style elements through BB code like [color=#7CCB50]this[/color], but is it possible to have conditional span rules to change the colour of a nested span element (not the whole text element) if a certain condition is met?
Also, the numerical value I want to use in the condition is contained within the span I want to change, but as part of a larger string in the span’s parent text.
In a repeating group I have a text element that shows text returned via an API call, I want to show text underneath it:
word count: xxx
char count: xxx
I would like to be able to set xxx to red if > 300 and green if =< 300
I know I could just split the “char count” text to its own element and then use a row wrapper to align the text and number and do it that way, just wondered I there was a way to do it at span level.