You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Changing Font color dynamically in rtf template is not working

Received Response
94
Views
1
Comments

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!