make a field switch from "Visible" to "visible but doesn't print" if the default text is in field.
I have a question about Adobe Acrobat Pro DC if anyone can help.
I don't think it's too advanced, but I'm a bit out of the loop. I have a form that I want people to be able to fill out, and I want there to be default text displayed that they can click the field and input their own.
Using simple Java for the "click and it disappears" part
if (event.target.value == event.target.defaultValue){
event.target.value = "";
}
And the inverse for clicking off of it if the field is blank.
My problem is that I want the default text there so that people can know what they should input, but not all fields are required to be filled in if not needed. Is there a way to check for a print event or something or to make a field switch from "Visible" to "visible but doesn't print" if the default text is left in the field?
