Reference error: document is not defined
Hi All
I'm a novice with javascript so would be very grateful for some help. I'm attempting to make new versions of some existing PDF forms so that they contain simple scripts to check things like fields not null and dates make sense, but I'm falling at the first hurdle in that I can't seem to refer to fields I've created within the pdf in javascript.
Whether I use this.getfield or document.getelementbyID I always get the error message "Reference error: document is not defined". I've tried searching the net for this error message in the context of PDFs but am drawing a total blank. I'd be very grateful if somebody can help please.
