1 Reply Latest reply on Nov 22, 2013 1:11 PM by jasotastic81

    -print not working


      When a certain condition occurs, I want the contents of a textbox to not print.  I have the following code, and it is not working.  Any ideas?




      xfa.resolveNode("FormWarningSubform.formWarn").relevant=   "-print";


      Instead, of not printing it shows "-print" in the textbox.




      Thank you for any assistance.

        • 1. Re: -print not working
          jasotastic81 Level 3

          I've been using txtTest.presence = "-print"; instead of relevant. It works for me.


          In my form, I created a "hint" for a field. If the user leaves the field and it's empty, then I make the hint visible and keep it from printing with this code.


          if (this.isNull){

          txtExample.presence = "visible";

          txtExample.presence = "-print";