Copy link to clipboard
Copied
I want to delete the first page of the document, once the document is signed.
I have tried using a script in the "This script executes when field is signed":
this.deletePages();
I have also tried creating a script for "On Blur" in the signature field:
var f = this.getField("Requestor Signature");
var status = f.signatureValidate();
if (status > 2) {
this.deletePages();
}
Neither has worked.
What you're trying to do is not possible, due to the reasons mentioned above. You might not like it, but that's how it works.
Copy link to clipboard
Copied
Editing a document destroys a digital signature. And it is completely against the rules/spirit/design/intention of signatures to allow pages to be deleted after a signature, since it might be changing the meaning of a contract.
Copy link to clipboard
Copied
Your response is complete unhelpful and useless.
I am dealing with an internal company form. The first page is instructions. After the document is signed and sent to the receiving department the receiving department does not need the instructions.
Copy link to clipboard
Copied
Your proposal is impossible and ill-informed, but do I complain?
Copy link to clipboard
Copied
What you're trying to do is not possible, due to the reasons mentioned above. You might not like it, but that's how it works.
Copy link to clipboard
Copied
try67 - Thank you for providing a clear response.
Test Screen Name - Maybe you should be clearer, instead of going into "spirit" and other nonsense. A simple and useful response, like try67 would have saved us both time. Nobody needs a philosophy lesson when trying to create some simple code.
Copy link to clipboard
Copied
rhadavi wrote
Nobody needs a philosophy lesson when trying to create some simple code.
I do, sometimes.
Copy link to clipboard
Copied
Have you looked at deleting the pages and then applying the signature?
Copy link to clipboard
Copied
Yeah, I ended up putting a "delete page" button at the top of the page and providing instructions to delete the first page using the button before submitting.
Thanks.