Skip navigation
Currently Being Moderated

How to enable javascript

May 13, 2009 11:59 AM

Hi, I have a form that check for data validation using script. If the "Enable Acrobat JavaScript" is not check at the Adobe Reader, the form data validation will not be executed. How can I solve this problem? Any script to enable the javascript? There is this AddRequirement method for the document object, I tried but don't seem to work. Thank you.

 
Replies
  • Currently Being Moderated
    May 13, 2009 12:06 PM   in reply to adobe_learner

    If javascript is disabled how can I execute javascript to check to see if it is disabled?

     

    Paul

     
    |
    Mark as:
  • Currently Being Moderated
    May 13, 2009 12:10 PM   in reply to adobe_learner

    You may not want to enable JavaScript yet. See Adobe PSIRT of May 1, 2009.

     

    But if you want to enable JavaScript in Adobe Reader and Acrobat using the following instructions below:

    1. Launch Acrobat or Adobe Reader.
    2. Select Edit>Preferences
    3. Select the JavaScript Category
    4. Uncheck the ‘Enable Acrobat JavaScript’ option
    5. Click OK

     
    |
    Mark as:
  • Currently Being Moderated
    May 14, 2009 10:07 AM   in reply to adobe_learner
     
    |
    Mark as:
  • Currently Being Moderated
    May 14, 2009 11:31 AM   in reply to adobe_learner

    I think about all you can do is the method in that blog post - and put a message in that tells people they need to enable javascript to use the form.

     

    If javascript is disabled there's not going to be any way to use javascript to do anything.

     
    |
    Mark as:
  • Currently Being Moderated
    May 15, 2009 10:31 AM   in reply to adobe_learner

    Hi Adobe_Learning (I'm learning too!) :-)

     

    I too have developed a LC form using JS. I just tested with Acrobat Read 9 by turning off JS, as described in this post. When I went to open my form, the reader gave a warning and asked if I wanted to turn JavaScript on.

     

    This tells me that YOU don't have to do anything within the form. However, if you have a document or set of instructions that go with your form, you probably want to address that issue there -- tell users that they need JS turned on

     

    Good Luck!

     
    |
    Mark as:
  • Currently Being Moderated
    May 20, 2009 9:50 AM   in reply to adobe_learner

    If you follow the instructions from the site I posted, there's no way anybody can work with the form if javascript is disabled because there's no form displayed until they enable javascript.

     
    |
    Mark as:
  • Currently Being Moderated
    May 20, 2009 11:47 AM   in reply to adobe_learner

    I don't know. I don't think so, again if javascript gets disabled there won't be any way to do anything with javascript.

     

    I find it unlikely that someone would turn off javascript half-way through filling out a form. But, I guess you never know what someone might attempt.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points