2017-02-23 20 views
1

如何使docusign中的簽名像單選按鈕一樣工作(以便用戶只能在表單上初始化「接受」或「拒絕」,例如,但不能同時使用? )或者,我們希望添加一個條件,以便一次只啓用一個簽名(即,用戶可以選擇在哪裏簽名)。Docusign - 僅使可簽名的兩個簽名塊中的一個成爲

回答

0

您可以使用單選按鈕組並在文檔上具有條件簽名字段來完成您的用例。

enter image description here

下面是一個示例CreateEnvelope呼叫。

{ 
    "recipients": { 
    "signers": [ 
     { 
     "email": "[email protected]", 
     "name": "Signer One", 
     "recipientId": 1, 
     "tabs": 
      { 
      "signHereTabs": [ 
      { 
       "tabLabel": "ApproveSignature", 
       "documentId": "1", 
       "pageNumber": "1", 
       "xPosition": "159", 
       "yPosition": "340", 
       "conditionalParentLabel": "RadioGroup_1", 
       "conditionalParentValue": "Approve", 
       "tabOrder": "0", 
      }, 
      { 
       "tabLabel": "DeclineSignature", 
       "documentId": "1", 
       "pageNumber": "1", 
       "xPosition": "360", 
       "yPosition": "339", 
       "conditionalParentLabel": "RadioGroup_1", 
       "conditionalParentValue": "Decline", 
      } 
      ], 
      "radioGroupTabs": [ 
      { 
       "documentId": "1", 
       "recipientId": "1", 
       "groupName": "RadioGroup_1", 
       "radios": [ 
       { 
        "pageNumber": "1", 
        "xPosition": "119", 
        "yPosition": "199", 
        "value": "Approve", 
        "selected": "false", 
        "required": "true", 
       }, 
       { 
        "pageNumber": "1", 
        "xPosition": "356", 
        "yPosition": "199", 
        "value": "Decline", 
        "selected": "false", 
        "required": "true", 
       } 
       ], 
      } 
      ] 
     } 
     } 
    ] 
    }, 
    "emailSubject": "Please approve or deny my document", 
    "documents": [ 
    { 
     "documentId": "1", 
     "name": "Approve or Deny", 
     "fileExtension" : "pdf", 
     "documentBase64": "[Intentionally Left out]" 
    } 
    ], 
    "status": "sent" 
} 
相關問題