Form specification files / Form item attributes |
The COLOR WHERE attribute defines a condition to set the foreground color dynamically.
COLOR = color-name [...] WHERE bool-expr
The COLOR WHERE attribute defines the logical color of the text of a field when the value satisfies the conditional expression.
The condition in COLOR WHERE can only reference the field for which the attribute is set.
The boolean expression is automatically evaluated at runtime to check when the color attribute must be set.
EDIT f001 = item.price, COLOR=RED WHERE f001 > 100;