These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Signature invalid with continuation pages, addInstance

devrag
Registered: May 12 2010
Posts: 32

I have a LiveCycle 8.2 form with three signature fields. Signature 1 and 2 lock a small collection of fields. Signature 3 locks the remaining fields. For signature two, I use a button to first verify that #1 and #2 were signed. If so, I make signature 3 "visible".
 
The form has two different continuation pages, which have line items whose numbers are incremented from page to page. In addition, for different numbered fields, their custom help text is modified as well. This is done through the ready:layout event for the continuation pages. These pages are added with addInstance, which is why I had to use ready:layout.
 
In all circumstances, signing #1 and #2 results in a valid signature (although sometimes it is stated that changes were made after the signature). But signature #3 is usually invalid. I've tried playing with Default > Scripting > Manual vs Automatic. Still have problems. Here are the scenarios with Manual Script change saving:
 
Without generating continuation pages:
1 - valid
2 - valid, but message saying document was updated after signing.
3 - valid, but message saying document was updated after signing. But on the Signature Panel, it says that the document has NOT been modified since signature was applied.
 
With an added continuation pages:
1 - valid, but unsigned changes after the last signature.
2 - valid, but unsigned changes after the last signature.
3 - invalid. Signature Panel says there have been changes made that invalidate the signature. And there is an information message saying properties of the text fields on the continuation page have changed. My script generates new custom help text for each text field, based on the incremented numbers. There is no mention of the numeric fields on this page changing, although that is another change I make to this page through script.
 
If I delete the continuation pages under LiveCycle, the form generated does not create any invalid signature, although it does say the the document was modified after signatures 2 and 3.
 
Is it possible to create valid signatures on a form with dynamic page adds? Any guidance would be appreciated.
     

My Product Information:
LiveCycle Designer, Windows
devrag
Registered: May 12 2010
Posts: 32
An update:

On reopening my dynamic PDF which did not have continuation pages added, the third signature is now invalid. So in both cases, with or without adding the continuation pages, the third signature, which locks the remaining fields, is invalid on re-open.

A note: I am suspicious of needing code in Ready:Layout on both the different continuation pages. When I first made this form, the only way I could correctly render the continuation pages with properly incremented line items was through the Ready:Layout event for both pages. In addition, I needed to use

xfa.layout.relayout();

after each

pageNode.instanceManager.addInstance(0);


This all was working fine, until I needed to add digital signatures. But if Ready:Layout and xfa.layout.relayout() are needed, but cause my form to be seen as having been modified, what can I do? Help!