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

Hide Menu Bars on Initial View

Lady Di
Registered: Feb 18 2009
Posts: 86
Answered

I am new to LiveCycle Designer. When I created a form in Acrobat Pro, I was able to hide the menu bars on the initial view of the form (and press F9 if I needed to see them again). Therefore, forcing the form filler to use the buttons I created on the bottom of the form. I would like to do the same in LiveCycle Designer, but I can't figure out how. I have a dynamic form, and at the bottom of the form, there is a button to submit the form by e-mail. This button forces the form filler to fill out all required fields before e-mailing the form. However, I know that these buttons and the script behind them can be bypassed by using the commands in the File menu. How can I prevent this on a dynamic LiveCycle form?

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Unfortunately the "Initial View" settings are not availibe in LiveCycle Designer. Its not that they won't work for a Dynamic LiveCyle form. Adobe just didn't create a UI for putting them in there. But you can get part of the way there by placing this JavaScript code in the DocReady event for the top node in the form.

app.toolbar = false;
event.target.viewState = {overViewMode:5};

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script