Dynamic form scripts cannot reference PDF form objects in Acrobat 8.x.
Issue
The dynamic form has a script that directly references PDF form objects. This script works in Acrobat 7.x but does not work in Acrobat 8.x.
Reason
To reduce file size and improve performance, Acrobat 8.1 does not save PDF content when rendering dynamic forms. As a result, if the form script directly references PDF form objects, when the form is opened, the script cannot find any PDF fields and fails to execute.
Solution
These are the workarounds for this problem:
- Do not use the PDF scripting model in dynamic forms.
- Enable LegacyRendering mode, by including the following statement in the XDP:
<? originalXFAVersion http://www.xfa.org/schema/xfa-template/[Original Template Version#]/ LegacyRendering:1 ?>
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
