These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Downloading Acrobat Form with Reader issue

acrojack
Registered: Aug 16 2010
Posts: 28

I created an interactive Acrobat Form with Acrobat 9 Pro which is downloaded by users from a server using Reader 7 on their workstations. It works fine the first time they fill in the form. However when they download the form a second time it is providing the form with saved field values. They need to be able to down load the form multiple times and have a new form each time with out the previously entered values.

Is there a setting that needs to be set either in the Acrobat form, the server or the clients workstation?

Thanks.

My Product Information:
Acrobat Pro Extended 9.3.1, Windows
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
This is (was) considered a feature, so that form data would not be lost if a user navigated away from the form an later returned. This was accomplished by saving a temporary FDF file on the user's system that would then be used to repopulated the fields if the form was reopened. Adobe allowed the user to control whether the cached FDF got created through a preference setting: Edit > Preferences > Forms > General > Keep forms data temporarily available on diskAdobe eventually considered this behavior to be undesirable, so Acrobat (Reader) no longer caches form data this way.

You can also set the nocache document property using JavaScript, which controls this behavior for a single document. For example, you could place the code in a document-level script the executes when the form is opened. The nocache property was removed in version 9 since version 9 no longer is able to cache form data. So if you want to control this through code, your code should first check the version or test for the existence of this property before attempting to set it.
acrojack
Registered: Aug 16 2010
Posts: 28
I'm a novice with creating forms. I've plugged java script onto fields and buttons but not at the page level.

How and what script woud I use to test the version then set nocache to true?
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
In looking at the documentation, I see I was wrong about the need to do version checking or feature detection. You can simply do:

nocache = true;


Place the code in a document-level JavaScript, outside of a function definition. Or you can place it in the initial page's Page Open action.
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
You may also want to turnoff the auto complete for the form in a similar manner.

this.noautocomplete = true;this.nocache = true;

The end users should not save the form back to the server.

If needed one could even add a form reset script to clear the form.

As noted this would be a document level script outside of the function definition.

George Kaiser