Acrobat User Community Forums

You are not logged in.     Log in to your AUC account.     Don't have an account? Sign up today

#1 2007-10-12 18:33:01

bdunbar
Member
Registered: 2007-10-12
Posts: 0

Form Fields in LiveCycle

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

 

#2 2007-10-13 22:21:50

pddesigner
Member

Registered: 2007-04-24
Posts: 55

Re: Form Fields in LiveCycle

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

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

AcrobatUsers.com  >>  User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in