Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

check if javascript is enabled

Avatar

Avatar
Validate 1
Level 3
Ruytero-HzmPcE
Level 3

Like

1 like

Total Posts

101 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 3
Ruytero-HzmPcE
Level 3

Like

1 like

Total Posts

101 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
Ruytero-HzmPcE
Level 3

24-02-2009

Hi,



Is there a way to check if JavaScript is enabled on the clients Reader using FormCalc?



Thanks and regards,



Ronny Ruyters

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

24-02-2009

Not that I am aware of

Avatar

Avatar
Level 4
_Bill_Bain_
Level 4

Likes

0 likes

Total Posts

79 posts

Correct Reply

0 solutions
View profile

Avatar
Level 4
_Bill_Bain_
Level 4

Likes

0 likes

Total Posts

79 posts

Correct Reply

0 solutions
View profile
_Bill_Bain_
Level 4

23-03-2009

I recall reading a blog or somewhere about some script to determine if JavaScript is enabled on the Client when the pdf form is opened, but I'll be hanged if I can find it now. Anybody recall seeing it?

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

24-03-2009

How can you have javascript check to see if javascript is enabled? If it is disabled your script will not run!

Avatar

Avatar
Level 4
_Bill_Bain_
Level 4

Likes

0 likes

Total Posts

79 posts

Correct Reply

0 solutions
View profile

Avatar
Level 4
_Bill_Bain_
Level 4

Likes

0 likes

Total Posts

79 posts

Correct Reply

0 solutions
View profile
_Bill_Bain_
Level 4

25-03-2009

I knew I wasn't totally hallucinating!



Adobe Reader with JavaScript Disabled

If you are looking for a simple way to provide feedback to those users who have disabled JavaScript in Adobe Reader, heres a simple approach. This works best on a flowed form as the text and space you are going to display to the user should ideally appear when script is disabled and disappear when script is enabled. Technically if a user has script disabled you cant use script to have a section of text appear or disappear so you need to have the text appear by default and then use script to have the object disappear.



In this example, the JavaScript is Disabled message appears to the user only when JavaScript has been disabled. When script is enabled the text is not displayed as the initialize code this.presence = "hidden"; causes the text itself to disappear. If your form is Flowed then the space that the text appeared in will also be removed. With a positional page, the text will disappear but the blank space will remain.



To download the sample: http://my.adobe.acrobat.com/checkforjavascriptpdfsample/



Posted by Lee Sutton at 04:14 PM

Avatar

Avatar
Level 4
_Bill_Bain_
Level 4

Likes

0 likes

Total Posts

79 posts

Correct Reply

0 solutions
View profile

Avatar
Level 4
_Bill_Bain_
Level 4

Likes

0 likes

Total Posts

79 posts

Correct Reply

0 solutions
View profile
_Bill_Bain_
Level 4

25-03-2009

Of course, now I can't get the download to work . . . . 🙂