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

Clear ALL fields EXCEPT one or two values

therube43
Registered: Feb 23 2007
Posts: 22

I have a form done in Designer 7.0..041126.0 and I have read how to clear forms. But most state how to clear one or several fields. I want to be able to clear ALL fields EXCEPT one or two. Is this possible??

My Product Information:
Acrobat Pro 7.0.5, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yes, but you have to name every field you want reset, in the reset code.

xfa.host.resetData("fld1,fld2,fld3");

This code resets 3 fields.

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