i can change color red, text still faded?
if that's not possible, @ least order of checkbox fields show 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";
}
hi,
the way can modify check marks limited.
you can change color, neutral value color pallid.
to change check marks symbols can use script in click event.
; formcalc not javascript ; change check marks of checkbutton object if ($ eq 0) $.ui.oneofchild.mark = "check" ;off elseif ($ eq 1) $.ui.oneofchild.mark = "check" ;on else $.ui.oneofchild.mark = "cross" ;neutral endif
More discussions in LiveCycle Forms
adobe
Comments
Post a Comment