Can someone help me, I have create a java script to put in Adobe Acrobat PRO DC. My script is
var empt = document.forms["TESTING PDF"]["text3"].value;
var nHide = empt == “” ? display.visible : display.hidden;
this.getField("Code").display = nHide;
this.getField("description").display = nHide;
this.getField("Chief CO").display = nHide;
(getting Error SyntaxError: Illegal Character 2: at line 3)
I can't figure out what its not liking
The quote characters you're using on the second line are curly quotes. Replace them with straight quotes.
That first line of code doesn't make sense for a PDF in Acrobat though, unless the document object is something you've created elsewhere.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.