DocuSign Web Sign无法完成

时间:2017-06-22 06:19:33

标签: json docusignapi

我对DocuSign Web Sign UI有疑问。
我创建一个信封,并使用下面的JSON请求通过CreateTabs API调用添加标签。
标签包含初始值,例如“输入日期”,因此签名人员有一个指南,他应该在字段中键入什么。
当我在DocuSign标志页面上填写文档时,会出现“完成”按钮,但是当我点击它时没有任何反应。

我发现它与创建的标签的初始值有关。如果没有初始值,我可以完成文档。 如果我尝试使用DocuSign编辑器创建类似的模板,它也可以工作。
为什么我的情况不起作用?

如果您想查看此问题,我可以向您发送一个下午,其中包含用于签署特定信封的链接。

这是我使用的JSON:

{
"dateSignedTabs": [{
    "anchorString": "<<DSDate2_14>>",
    "documentId": "1",
    "font": "LucidaConsole",
    "fontColor": "Black",
    "name": "DSDate2_14",
    "pageNumber": "1"
}],
"dateTabs": [{
    "anchorString": "<<DSText9_2>>",
    "disableAutoSize": "true",
    "documentId": "1",
    "locked": "false",
    "maxLength": 4000,
    "name": "DSText9_2",
    "pageNumber": "1",
    "requireAll": "true",
    "required": "true",
    "requireInitialOnSharedChange": "true",
    "shared": "true",
    "tabLabel": "\\*DSText9_2",
    "value": "Enter date",
    "width": 100
}],
"fullNameTabs": [{
    "anchorString": "<<DSFullname3_15>>",
    "documentId": "1",
    "font": "LucidaConsole",
    "fontColor": "Black",
    "name": "DSFullname3_15",
    "pageNumber": "1"
}],
"noteTabs": [{
    "anchorString": "<<DSNote8_12>>",
    "documentId": "1",
    "height": 39,
    "name": "DSNote8_12",
    "pageNumber": "1",
    "tabLabel": "\\\\*DSNote8_12",
    "value": "Type note-text here",
    "width": 100
}],
"numberTabs": [{
    "anchorString": "<<DSText10_3>>",
    "concealValueOnDocument": "true",
    "disableAutoSize": "true",
    "documentId": "1",
    "locked": "false",
    "maxLength": 4000,
    "name": "DSText10_3",
    "pageNumber": "1",
    "required": "true",
    "requireInitialOnSharedChange": "true",
    "shared": "true",
    "tabLabel": "\\*DSText10_3",
    "value": "Tax Number",
    "width": 100
}],
"radioGroupTabs": [{
    "documentId": "1",
    "groupName": "Income",
    "radios": [{
        "anchorString": "<<DSRB5_9>>",
        "pageNumber": "1",
        "required": "true",
        "value": ">10k"
    },
    {
        "anchorString": "<<DSRB6_10>>",
        "pageNumber": "1",
        "required": "true",
        "value": "<15k"
    },
    {
        "anchorString": "<<DSRB7_11>>",
        "pageNumber": "1",
        "required": "true",
        "value": "<25k"
    }],
    "requireAll": "true",
    "requireInitialOnSharedChange": "true",
    "shared": "true"
}],
"signHereTabs": [{
    "anchorString": "<<DSSignature1_13>>",
    "documentId": "1",
    "name": "DSSignature1_13",
    "pageNumber": "1"
}],
"ssnTabs": [{
    "anchorString": "<<DSText13_6>>",
    "disableAutoSize": "true",
    "documentId": "1",
    "locked": "false",
    "maxLength": 4000,
    "name": "DSText13_6",
    "pageNumber": "1",
    "requireAll": "true",
    "required": "true",
    "requireInitialOnSharedChange": "true",
    "shared": "true",
    "tabLabel": "\\*DSText13_6",
    "value": "Enter SSN",
    "width": 141
}],
"textTabs": [{
    "anchorString": "<<DSText4_1>>",
    "disableAutoSize": "true",
    "documentId": "1",
    "height": 20,
    "locked": "false",
    "maxLength": 4000,
    "name": "DSText4_1",
    "pageNumber": "1",
    "requireAll": "true",
    "required": "true",
    "requireInitialOnSharedChange": "true",
    "shared": "true",
    "tabLabel": "\\*DSText4_1",
    "validationMessage": "Enter only letters",
    "validationPattern": "^[a-zA-Z ]{1,}$",
    "value": "Enter pan",
    "width": 241
},
{
    "anchorString": "<<DSText14_7>>",
    "disableAutoSize": "true",
    "documentId": "1",
    "height": 18,
    "locked": "false",
    "maxLength": 4000,
    "name": "DSText14_7",
    "pageNumber": "1",
    "requireAll": "true",
    "required": "true",
    "requireInitialOnSharedChange": "true",
    "shared": "true",
    "tabLabel": "\\*DSText14_7",
    "value": "None",
    "width": 162
},
{
    "anchorString": "<<DSText15_8>>",
    "disableAutoSize": "true",
    "documentId": "1",
    "height": 20,
    "locked": "false",
    "name": "DSText15_8",
    "pageNumber": "1",
    "required": "true",
    "tabLabel": "\\*DSText15_8",
    "value": "Enter Code",
    "width": 168
}],
"zipTabs": [{
    "anchorString": "<<DSText11_4>>",
    "concealValueOnDocument": "true",
    "disableAutoSize": "true",
    "documentId": "1",
    "locked": "false",
    "maxLength": 4000,
    "name": "DSText11_4",
    "pageNumber": "1",
    "required": "true",
    "tabLabel": "\\*DSText11_4",
    "value": "Zip Number",
    "width": 100
},
{
    "anchorString": "<<DSText12_5>>",
    "concealValueOnDocument": "true",
    "disableAutoSize": "true",
    "documentId": "1",
    "locked": "false",
    "maxLength": 4000,
    "name": "DSText12_5",
    "pageNumber": "1",
    "requireAll": "true",
    "required": "true",
    "requireInitialOnSharedChange": "true",
    "shared": "true",
    "tabLabel": "\\*DSText12_5",
    "useDash4": "true",
    "value": "Zip4-5 ",
    "width": 100
}]

}

更新

DocuSign在此期间解决了这个问题。

1 个答案:

答案 0 :(得分:2)

我不相信完成按钮将被启用(即可点击),直到所有必填字段都填充了有效值。例如,您在帖子中包含的JSON包含 dateTab ,其默认值为“输入日期”。如果用户未使用有效日期替换此默认值,则不会启用完成按钮(可单击)。

对于文档中需要特定类型(或格式)数据的任何其他必填字段,同样的行为也适用 - 在填充所有必填字段之前,不会启用完成按钮有效值。