Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Mar 2009
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Hide Menu Bars with JavaScript in Adobe

    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.

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts

  • #3
    New Coder
    Join Date
    Mar 2009
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Hide Menu Bars with JavaScript in Adobe

    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?

  • #4
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    I have absolutely no idea, I just googled your problem and found a couple of pages that maybe might be a solution for you.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •