I can change the color to red, but the text is still faded?
If that's not possible, I would at least like to get the order of checkbox fields to show up as: Off/On/Neutral (Blank checkbox, Checkmark, Cross).
CURRENT CODE:
var vName = this.somExpression;
var fieldObj = xfa.resolveNode(vName + ".ui.#checkButton");
var myTick = event.target.getField("form1.page1.CheckBox1");
if (this.rawValue == 1)
{
myTick.textColor = color.black;
fieldObj.mark = "check";
}
else if (this.rawValue == 2)
{
myTick.textColor = color.black;
fieldObj.mark = "cross";
}
else
{
myTick.textColor = color.black;
fieldObj.mark = "cross";
}