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.
Views
Replies
Total Likes
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";
}
Views
Replies
Total Likes