This following sample uses the undocumented and unsupported runtimeHighlight property for the Acrobat JavaScript app object to provide an outline around form fields at runtime.
To make this work, create a file called highlight.js and drop it into your JavaScripts folder. The default is as follows: c:Program FilesAdobeAcrobat 4.0Acrobatplug_insAcroformJavaScripts.
The file should contain the single line ‘app.runtimeHighlight = true;’.
- Download sample file
Note: only works with Acrobat 4.05 and since the feature is undocumented, it may not work in future releases of Acrobat.