These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Automatically Open PDF Form without Menus

gbollinger
Registered: Dec 12 2008
Posts: 10

Is there a way to incorporate a script or Form Calc into the document in order that when an end user opens the pdf it will not show (or lock out) any reader menus?

I need to be able to incorporate this into the form itself and not modify reader.

g :o)

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
add this JS to the initial event of your form

app.toolbar = false; // Hide the toolbar
app.menu = false; // Hide all menus

To show the menus the user then have to press F8 and F9.

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

gbollinger
Registered: Dec 12 2008
Posts: 10
Is there a way to just disable the bars altogether?
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4307
You might try a folder level JavaScript to do this, but you then disable this for any PDF opened by the user!

George Kaiser