- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi Ace,
You need the reset script/button - just drag the standard one from the object library and copy/paste after the print command. This will delete all of the data that the user has entered, which may not be what you or the user wants. Maybe include a message and check the users response (Ok, Cancel).
xfa.host.resetData();
Note that the reset button will not restore repeatable objects back to their original number (min count or initial count). A form here does this manually in the reset button: https://acrobat.com/#d=RZ1lzX23*u7L4N9rtWCYPQ
Good luck,
Niall
Views
Replies
0 Likes
Total Likes