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
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.