Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Current »

Formatting rules allow you to change the formats (text colour, background colour, style) and visibility of control depending upon a condition. 

Rule Condition

This is the condition that the formatting will apply when it's true.

return $Xml.EvaluateBoolean('Score > 10');

For this example, all formatting styles will apply when the "Score" value is greater than 10.

Hidden
If you choose Yes, it will make control invisible. (when the rule condition is true)

Disabled
If you choose Yes, it will make control readonly. (when the rule condition is true)

Bold
If chosen, it will make the text bold. (when the rule condition is true)

Italic
If chosen, it will make the text italic. (when the rule condition is true)

TextColor
Sets the colour of the text that will be seen when the rule condition is true.

Background Color
Sets the background colour of the text that will be seen when the rule condition is true.

  • No labels