Skip navigation
Currently Being Moderated

Changing the color of a check mark of a checkbox when rendered as static PDF

Dec 2, 2011 2:18 AM



I am not sure if it's possible, but I am having trouble changing the check mark color of a checkbox in a static PDF.  It works fine if the PDF is dynamic, but it craps out when the PDF is static.


Is there a workaround?  I don't have to change it dynamically based on user interaction, the client just wants a blue checkmark in a static PDF.  Anyone having the same issue?


          var vName = this.somExpression;

          var fieldObj = xfa.resolveNode(vName + ".ui.#checkButton");

          // set up a variable to deal with the tick colour

          var myTick =;

          myTick.textColor =;

          fieldObj.mark = "check";


This works when rendered as a Dynamic PDF, but myTick is always null when rendered as Static PDF






More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points