Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Delete Page on Signature

Community Beginner ,
Sep 26, 2018 Sep 26, 2018

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.

TOPICS
Acrobat SDK and JavaScript , Windows
861
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Sep 26, 2018 Sep 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.

Translate
LEGEND ,
Sep 26, 2018 Sep 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 26, 2018 Sep 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 26, 2018 Sep 26, 2018

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 26, 2018 Sep 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 26, 2018 Sep 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 26, 2018 Sep 26, 2018

rhadavi  wrote

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

I do, sometimes.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 26, 2018 Sep 26, 2018

Have you looked at deleting the pages and then applying the signature?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 27, 2018 Sep 27, 2018
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines