Hi, i hope someone can help me.
I have this Custom Calculation field:
ColorField('AdjustedCO2Reading',ValidateWithSetPoint('CO2SetPoint','AdjustedCO2Reading',0. 2));
I would like it to have:
-1 > 0.2 = Do this (Coloring)
0.21 > 0.7 = Do this(Coloring)
0.71 > 100 = do this(Coloring)
ColorField Custom Script:
function ColorField(AFieldName,AOK)
{
var f=this.getField(AFieldName);
if (AOK || f.value == 'N/A')
f.textColor=color.black;
else
f.textColor=color.red;
return AOK;
}
I would like 3 different colors in the ColorField Script for the values abobe in the "Custom Calculation Field".
Hope someone can help