Is there a simple way to reset all form fields in a document?
Something equivalent to either the Forms > Clear Form command in Adobe Acrobat or the Reset a Form action that you can assign to a button.
Thanks!
Is there a simple way to reset all form fields in a document?
Something equivalent to either the Forms > Clear Form command in Adobe Acrobat or the Reset a Form action that you can assign to a button.
Thanks!
Hi Salomon,
I’m not sure if this functionality has been added into Aspose.Pdf yet (I didn’t see it), but the easiest way I found to do this is to call the “resetForm()” function in Javascript.
resetBtn.Actions.OnPressMouseBtn = new Aspose.Pdf.InteractiveFeatures.JavascriptAction(“this.resetForm();”);
Hi Jonathan,