Sign in to Community
Sign in to view all badges
Expand my Community achievements bar.
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?
Instead, of not printing it shows "-print" in the textbox.
Thank you for any assistance.
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.
txtExample.presence = "visible";
txtExample.presence = "-print";