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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

check if javascript is enabled


Level 4

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

Thanks and regards,

Ronny Ruyters
0 Replies


Level 4
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?


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


Level 4
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:

Posted by Lee Sutton at 04:14 PM


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