Expand my Community achievements bar.

Fields do not clear on form re-open

Avatar

Former Community Member
Hello



using Designer 7.0



I load an online form I designed through the website (I use Internet Explorer 6.0), then complete it, then print it, then close it. when I later re-open the same form again from the website, the fields still show the data I input the first time. (this does not happen when I test opening & re-opening the form from Acrobat)



how can I make the form fields clear on closing the form so that I get blank fields on the next instance of completing the form?



I tried deleting cookies and temp files, but to no avail.



many thanks



benoit
2 Replies

Avatar

Level 7
In LIveCycle Designer - clear the form:



xfa.host.resetData()



For Acrobat forms - turn off the auto cache and auto complete for the document and clear the form.



You can use the following document level JavaScript to the the task when the PDF is opened:



// Turn off Auto-Complete

this.noautocomplete = true;

// Turn off Acrobats forms caching

this.nocache = true;

// Clear all the form fields

this.resetForm();



For more information see:

http://www.adobe.com/devnet/acrobat/pdfs/ReaderOnPublicComputers.pdf