Changing Font color dynamically in rtf template is not working
Summary:
Changing Font color dynamically in rtf template is not working
Content (required):
I am trying to change text font color dynamically. but it is not working.
For example. I have week days column (MON,TUE, WED, THU,FRI,SAT and SUN).
the value in the column is 'Work day' ,'Half day' or 'Off day'. Condition i am putting - if MON = 'Work Day' text color should be blue otherwise red.
1) I tried in 2 ways. Added a condition eg:
<?if:MON='Off Day'?><?attribute@incontext:color;'red'?><?end if?>
<?if:MON='Work day'?><?attribute@incontext:color;'blue'?><?end if?>
but this is not working.
Tagged:
0