I have two item values - I would like the first (1) value font color in black and the second (2) value color in red. How do I go about accomplishing this?
Views
Replies
Total Likes
if ($.boundItem(xfa.event.newText) == "2") {
if (xfa.host.version < 8) {
this.resolveNode("$").fontColor = "255, 0, 0";
}
else {
var CaptionColorBackup = this.resolveNode("$").caption.font.fill.color.value;
this.resolveNode("$").font.fill.color.value = "255, 0, 0";
this.resolveNode("$").caption.font.fill.color.value = CaptionColorBackup;
}
}
This is what I have so far, but the entire field is red. What do I need to do in order to get just second value text to appear in red?
Views
Replies
Total Likes
Hi,
don't waste your time, you cannot color the items individual.
Views
Replies
Total Likes
ok, thanks
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies