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 Standard 8.1 / Windows
Offline

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.
Offline
AcrobatUsers.com >> User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in