Visible (Print Only) presence option may not work on button objects when target version is Acrobat and Adobe Reader 7.0.5 or laterProducts affected
Issue
You might see the following issues, when using the following versions of LiveCycle Designer, when you select Acrobat and Adobe Reader 7.0.5 or later as the target version for the form, and apply the Visible (Print Only) presence option to a button object:
- LiveCycle Designer 7.0 and 7.1
With dynamic PDF forms that are migrated to LiveCycle Designer 9.0 and then opened in Acrobat or Adobe Reader 8.0 or later, the Button object may be invisible when the form is printed.
- LiveCycle Designer 9.0
With static and dynamic PDF forms, the Button object may still be visible on the screen when you view the form by using the Preview PDF tab in LiveCycle Designer 9.0 or open it in Adobe Acrobat 7.0.5 or later.
Note: This issue does not occur in Adobe Acrobat 8.0 with dynamic PDF forms.
Solution
To resolve this issue, you must perform these four steps for each Button object that you want to show or hide in Acrobat and Adobe Reader 7.0.5 or later:
- Click the Button object, and in the Language list in the Script Editor, select JavaScript.
- In the Presence list on the Object palette, select Invisible.
- Copy and paste the following script into the prePrint event in the Script Editor.
this.presence = "visible"; - Copy and paste the following script into the postPrint event in the Script Editor.
this.presence = "invisible";
Doc ID
(kb408358)
Last updated
2009-01-21
Products affected
