Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

dynamic changes to checkbox fill color

Avatar

Level 3

I would like to know how to dynamically change the fill color of a checkbox.  When I use the following code, I change the color of the entire object (including the text).  I just want to change the color of the little box.

this.fillColor = "255,255,0";

Any insight?

Thanks,
Emily

1 Accepted Solution

Avatar

Correct answer by
Level 10

Try

xfa.resolveNode("form1.page1.cb.ui.#checkButton.border.fill.color").value = "255,255,0";

where the checkbox object is 'form1.page1.cb'

Steve

View solution in original post

0 Replies

Avatar

Correct answer by
Level 10

Try

xfa.resolveNode("form1.page1.cb.ui.#checkButton.border.fill.color").value = "255,255,0";

where the checkbox object is 'form1.page1.cb'

Steve