> HI, I want to be able to hide all pages of the pdf but keep an activation page
> visible. This page would have a form field. The user would enter in an unlock
> code, if correct it would unhide the rest of the document, if not the document
> would remain hidden. Is this possible? I imagine javascript would be used.
> Thanks in advance.
Actually I just copy this question from my research, the question was made on 2004, and is exactly what I'm looking for, do you have any suggestion if this can be done?
Now, since the user can disable JS I want to compile the pdf with the page hidden, and the user will only available to read the document if they enable JS. Do you have maybe other work around for this? or other suggestion?
Thanks!
Diego
But now there are a couple of alternative solutions.
1. Use a Dynamic LiveCycle form. This does not require rights enabling to work on Reader.
2. Use Layers to hide form content. You can find out about this at:
http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/create_use_layers/
The Acrobat 8 JavaScript DOM includes a parameter for requiring JS to be turned on before the document will open. See the "doc.addRequirement()" function in the Acrobat JavaScript Reference.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script