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

fill color overwrites checkbutton border

Avatar

Level 1

Hi,

I'm setting the fill color of fields on enter and exit.  This works well for all fields except for check buttons or radio buttons where the border gets overwritten by the fill.  Depending on the zoom level some borders may be visible.

I should also mention that this behaviour is exhibited only when the form is rendered as a static PDF.  There's no problem with a dynamic PDF.

The JavaScript I use to set the fill color is:

xfa.resolveNode(this.somExpression + ".ui.#checkButton.border.fill.color").value ="255,255,170";

Does anyone have a solution or work-around for this?

Thanks,

Paul  

1 Reply

Avatar

Level 10

Hi Paul,

I don't think that you will get this dynamic behaviour to work on a Static PDF Form.

Also, you can use the onOfChild to avoid SOME expressions and resolving nodes (via John Brinkman): http://assure.ly/kp60nk.

Good luck,

Niall