JackHillman | Posts: 19

Signature Injection When Creating Document from PDF

0 votes
I'm using Field Injection for my documents, but can't figure out how to use a Signature field that is already created on my PDF form. Do I have to create a signature field manually like what is done here ===> https://developer.esignlive.com/guides/feature-guides/sign-documents/ ? I would like to think there is a way to use the signature field that is already on the for, but obviously I am not aware how. Using the .net implementation. Thanks in advance, Jack

Approved Answer
mwilliams | Posts: 957

Reply to: Signature Injection When Creating Document from PDF

0 votes
Hey Jack, You'll need to let OneSpan Sign (formerly eSignLive) know where the PDF signature field is in your document. There are a couple ways to do this. One would be to use position extraction to tell OneSpan Sign what field to look for in your PDF file to extract as a signature. The other would be to rename your signature field in your PDF document to the naming convention that OneSpan Sign automatically recognizes and tell it to extract using document extraction. Let me know if I am misunderstanding your question in any way.

JackHillman | Posts: 19

Reply to: Signature Injection When Creating Document from PDF

0 votes
That worked great, thanks for your reply. Now that I have my package being created successfully, I notice that all of my other fields on the PDF (except the injected fields and the signatures) are not appearing in the email to my signer. I have the enable extraction option on my document builder. What do I need to add in order to get the rest of my text fields?

JackHillman | Posts: 19

Reply to: Signature Injection When Creating Document from PDF

0 votes
I went ahead and updated my PDF field names and reversed the issue i mentioned in the previous post. So now my free form text fields all show and and I also have my signatures. However now my injected fields are not populating with their values Any help is appreciated Jack

mwilliams | Posts: 957

Reply to: Signature Injection When Creating Document from PDF

0 votes
Hey Jack, For the values to go as defaults into the fields, you'll need to do one of two things. If you use position extraction, as linked above, you can include a default value as part of the payload sent to eSignLive. If you use the document extraction option (eSL naming convention), you'll have to make another call to OneSpan Sign to update the fields with the default values. I don't believe there is a way to retain the values in PDF form fields, currently, without simply flattening them into the document, as you were doing before. If I find out differently, I will update this thread. If you'd like to request an ER for that to automatically be done if there is a value inside the field, in the PDF form template, please send an email to [email protected] with your request. Be sure to link this post in your email. :)

JackHillman | Posts: 19

Reply to: Signature Injection When Creating Document from PDF

0 votes
Ended up getting it to work by not following the extraction rules for naming fields on my pdf only for the injected fields.

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off