Hi Grant,
This could be possible by specifying something like the following in the calculation column...
concat('<font color="', if(selected(${example}, 'red'), "red", ""),'">Text in changes color </font>')
type | name | label | calculation |
select_one color | example | Example | |
note | diffc | test | concat('<font color="', if(selected(${example}, 'red'), "red", ""),'">Text in changes color </font>') |
This will lead to the font color of the label changing to red if red is selected in the previous question, or, remain the default color in the event that nothing or something else is selected.
I have also included the XLSForm as an attachment to this thread, which contains this example.
Best,
Brandon