Copy link to clipboard
Copied
I am working on a project for my company using Adobe Sign API. I am programming in PHP and my system will create a pdf that requires 2 signatures. I upload that document up to Adobe using he transient document API an I am added 2 text_tags for signatures. Using the text_tag format My document is only recognizing "signer1". But doesn't create a signature field for "signer2". What could I be doing wrong?
{{Sig4_es_:signer1:signature}} (creates a ESIGN field)
{{AgentSig1_es_:signer2:signature}} (doesn't create anything)
I am uploading my PDF to version 6 of the Adobe API.
This is what my JSON code looks like on my agreement API call.
$json_fields = '{
"fileInfos": [
{
"transientDocumentId": "'.$transDocId.'"
}
],
"name": "LAW_app",
"participantSetsInfo": [
{
"order": 1,
"role": "SIGNER",
"label": "signer1",
"memberInfos": [
{
"email": "'.$email.'"
}
]
},
{
"order": 2,
"role": "SIGNER",
"label": "signer1",
"memberInfos": [
{
"email": "'.$email2.'"
}
]
}
],
"signatureType": "ESIGN",
"state": "IN_PROCESS",
"emailOption": {
"sendOptions":{
"initEmails":"NONE"
}
}
}';
Copy link to clipboard
Copied
Hi Samuel,
Thank you for reaching out for support!
Is it possible the second text tag is being split between two lines? The text tag guide might have some helpful details, including this below:
"The entire span of the text tag, from the beginning curly brace to the closing curly brace, must fit within a single line. If a text tag spans multiple lines, either in the source document or in the processed PDF, the form field will not be correctly recognized by Acrobat Sign and may cause the underlying text to be visible to the signer when signing the document."
Please update if the problem persists.
Kind regards,
Cole
Copy link to clipboard
Copied
This worked.
Copy link to clipboard
Copied
Excellent! Best of luck with your project, and please don't hesitate to ask for more support if you need it.
Cole
Copy link to clipboard
Copied