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

Reset selected fields

tnegri
Registered: Apr 19 2010
Posts: 2

I have created a form using LiveCycle 8.2.1, and I am trying to edit it so the reset button clears certain fields. Is there any way I can edit the reset button to leave certain fields alone and clear the rest? Thanks for any advice.

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yes, Take a look in the reference at the xfa.host.resetData() function.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script