Adobe Reader with JavaScript Disabled

| No Comments

If you are looking for a simple way to provide feedback to those users who have disabled JavaScript in Adobe Reader, here’s 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 can’t 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/

Leave a comment

Pages

Powered by Movable Type 4.261

About this Entry

This page contains a single entry by Lee Sutton published on February 25, 2009 4:14 PM.

Verifying LiveCycle Trial Downloads using MD5 Checksums was the previous entry in this blog.

Re-Directing X11 (UNIX/Linux) Displays to Windows is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.