Posts tagged "Forms"

Acrobat/Reader: how to enable Javascript debugger in PDF forms

When you use Javascript in PDF forms, you can enable the Javascript debugger to be able to analyze the Javascript output in Acrobat or Designer.

Use the following approaches to enable Javascript debugging using Acrobat or Designer:

  • Use message box output to display dialog boxes with Javascript values (using the xfa.host.messagebox method).
  • Use the Javascript Debugger console in Acrobat. Open it by pressing Ctrl+J or select
    Edit > Preferences > Javascript > Javascript Debugger > Enable Javascript Debugger
    Restart Acrobat to view the Debugger console when using the Preferences option.
  • From Designer, save the form as PDF, open it in Acrobat, and press CTRL+J to open the debugger.
  • Launch Acrobat in the background, open the form in Designer, and goto PDF Preview. This approach uses the Acrobat plug-in, from where pressing Ctrl+J calls up the Javascript debugger.

To execute Javascript expressions directly in the console window, enter the statement and highlight the entire statement using the cursor. (Optionally, highlight multiple lines to execute multiple lines of Javascript code.) Press Ctrl+Enter.

reference: (180009803)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 7.6/10 (5 votes cast)

Acrobat/Reader7: how to disable the “Keep forms data temporarily on disk” option

Issue

 If you are using Reader 7 you may want to disable the option “Keep forms data temporarily on disk“.

Reason

 This prevents form data being cached on the local disk, which may pose data integrity/security risks to enterprise customers.

Solution

There are a few workarounds to disble this functionality:

1. create a registry key to disable the option automatically:

The location is [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\7.0\Originals].

Create the key named bCacheFormData.

Create a dword value of 00000000.

Close registry and relaunch Acrobat/Reader.

2. Another option is to control this in the form itself using JavaScript

From the Acrobat JavaScript Scripting reference available at http://partners.adobe.com/public/developer/en/acrobat/sdk/AcroJS.pdf#page=219

this.nocache = true; 

This will only have an affect in the form context.

3. Your third option is to use the Web browser settings:

Set the preference “Do not save encrypted pages to disk” as checked.

Empty Temporary Internet Files Folder when browser is closed.

Additional Information

 This setting has been disbled by default in Acrobat/Reader 8.0 and later versions.

reference: (1-29705311)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

LiveCycle 7: how to create a WebDAV connection to the Forms appstore

Issue

 You can use Web Folders to browse the appstore from FormManager, or to publish forms directly from Designer, however you may encounter problems trying to connect to it using the following URL:

http://<server>:<port>/appstore/Forms

Solution

You will need to apply this fix first to enable Web Folders on your system:

http://support.microsoft.com/kb/888123/en-us (Follow method 2)

Then follow these instructions to connect to the WebDAV server:

For XP and W3K:

1.) Navigate to My Network Places

2.) Select Add a network place

3.) Enter http://<server>:<port>/appstore/Forms

4.) When prompted enter the username and password of a user that has the roles of Adobe Administrative Console User and LiveCycle Form Manager Administrator.

5.) You will be prompted for the credentials once again then the add network wizard will display a panel letting you identify a name for the network place.

6.) Select Next

7.) Select the check box to open this connection and select finish.

8.) You have now a webdav connection to the root of the appstore and can publish forms directly to it.

You can then use this Network place directly from Designer to publish/edit forms in the appstore.

reference: (1-22309006)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 10.0/10 (1 vote cast)