View Full Version : Other Hide Menu Bars with JavaScript in Adobe
LadyDi
03-26-2009, 09:28 PM
I am very new to JavaScript and am having some trouble with a form I am creating in Adobe Acrobat Professional 8.0. I got buttons to work on my form that will force the user to fill in all required fields on the form before it will e-mail. I just found out that the user can bypass these buttons by using the menu commands. I was wondering if there was JavaScript that could be written to hide the menu bars so that the user has to use the buttons that I created. The user will be using Adobe Reader 9.0. Any assistance you can provide would be greatly appreciated.
Fumigator
03-27-2009, 12:24 AM
Maybe these will be helpful?
http://support.adobe.com/devsup/devsup.nsf/docs/50710.htm
http://support.adobe.com/devsup/devsup.nsf/docs/51244.htm
LadyDi
03-27-2009, 03:08 PM
Thank you for the links, they were very helpful. However, I have two questions regarding them. One question is, where should I put this code? Should it be a document level code, or should it go somewhere else? My other question is, when I did put this code on the document level, I received an error message stating "Missing ; before statement". What does that mean?
Fumigator
03-27-2009, 06:09 PM
I have absolutely no idea, I just googled your problem and found a couple of pages that maybe might be a solution for you. :o
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.