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

Form Fields in LiveCycle

bdunbar
Registered: Oct 12 2007
Posts: 2

Is there any way to automatically clear a form on exit of the page in LiveCycle? I have a payroll change form I created and posted to a webserver, all works great but unless I manually push the button to clear the form all the fields are still filled in the next time the form is visited.
 
Thank You
Bill

My Product Information:
LiveCycle Designer, Windows
pddesigner
Registered: Jul 9 2006
Posts: 858
Hello Bill,

Try this:

Place this JavaScript in the docClose event


xfa.host.resetData()

This method resets all field values on a form to the default values.


xfa.event.reset()
This script resets all properties within the event model.

My favorite quote - "Success is the ability to go from one failure to another with no loss of enthusiasm.