Skip to main content
Participating Frequently
September 26, 2018
Answered

Delete Page on Signature

  • September 26, 2018
  • 4 replies
  • 822 views

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.

This topic has been closed for replies.
Correct answer try67

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.

4 replies

rhadaviAuthor
Participating Frequently
September 27, 2018

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.

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
September 26, 2018

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.

rhadaviAuthor
Participating Frequently
September 26, 2018

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.

Inspiring
September 26, 2018

rhadavi  wrote

Nobody needs a philosophy lesson when trying to create some simple code.

I do, sometimes.

Legend
September 26, 2018

Your proposal is impossible and ill-informed, but do I complain?

Legend
September 26, 2018

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.

rhadaviAuthor
Participating Frequently
September 26, 2018

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.