S-Docs: Conditional Text Colour

In S-Docs template, is it possible to have a text colour changed based on conditional logic. Yes, you can achieve by using the RENDER feature in the template code.

 

For example:
We have a picklist field with 3 values (see below) and each of these values will have its own colour scheme to be displayed based on the user selection.
Budget_Picklist
On Budget = Green
At Risk = Orange
Over Budget = Red
In the template source code, we just need to include the combination of the RENDER logic and HTML code. Instead of only insert the field name, we will have the following:
On Budget
At Risk 
Over Budget
Depending on which picklist is selected, the colour of the text will be displayed in the generated S-Docs template.
s_docs_field

Get in touch today to see how WDCi can help your business.