Reputation: 382
Using the docusign API to create an envelope which has signature fields and initial fields which are converted into tabs.
I want to add "date signed" tabs for each signature, but the dateSignedTab isn't having any effect. The form we are using has multiple datesigned fields with name: date_signed_1DocuSignDateSigned
I have found no useful documentation or examples of dateSigned tabs. Any assistance would be greatly appreciated!
%{compositeTemplates: [%{document: %{documentBase64: "Base.encode64(file)",
documentId: 75,
name: "SADF SDF, Accounts Assistant (Accounts) - DAILY, PAYE.pdf",
transformPdfFields: "true"},
inlineTemplates: [%{recipients: %{carbonCopies: [],
signers: [%{email: "[email protected]", name: "sadf sdf",
recipientId: 2, routingOrder: 2,
tabs:
%{dateSignedTabs: [%{documentId: 75, tabLabel: "date_signed_1\\*"}],
signHereTabs: [%{documentId: 75, tabLabel: "signature_1\\*"}]}}]},
sequence: "1"}]},
%{document: %{documentBase64: "Base.encode64(file)", documentId: 76,
name: "SADF SDF, Accounts Assistant (Accounts) - DAILY, FORM.pdf",
transformPdfFields: "true"},
inlineTemplates: [%{recipients: %{carbonCopies: [%{email: "[email protected]",
name: "Jack Murphy", recipientId: 23, routingOrder: 3}],
signers: [%{email: "[email protected]", name: "sadf sdf",
recipientId: 2, routingOrder: 2,
tabs: %{dateSignedTabs: [%{documentId: 76,
tabLabel: "date_signed_1\\*"}],
signHereTabs: [%{documentId: 76,
tabLabel: "signature_1\\*"}]}}]}, sequence: "2"}]}],
emailBlurb: "\n\nddd - agreement: sadf sdf, Accounts Assistant (Accounts)",
emailSubject: "ddd - agreement: sadf sdf, Accounts Assistant (Accounts)",
status: "sent"}
Upvotes: 2
Views: 462
Reputation: 7383
Use the complete tabLabel so that it matches your form field name.
tabLabel: "date_signed_1DocuSignDateSigned\\*"
You are confusing \\*
operator with a wild card search. The operator is used when you have several tabs with the same tabLabel and you'd like all of them to start out with the same initial value. The tabLabel will still have to match completely with your form field name.
See this answer for more context and additional documentation here
Upvotes: 2