gpt4 book ai didi

php - DocuSign API : initialHere and signHere on the same document. ..或不是

转载 作者:行者123 更新时间:2023-12-02 18:38:28 24 4
gpt4 key购买 nike

我在文档上使用锚定选项卡,签名部分效果很好。我在另一篇文章中看到添加初始选项卡就像将“signhere”换成“initialhere”一样简单。酷。

我的第一个问题:对我来说最简单的解决方案是为每个收件人添加signhere和initialhere。据我了解,这样做不会破坏任何内容:如果该选项卡不在文档上,则该角色将被忽略。是这样吗?

我的第二个问题:我是为每个角色创建一个新的收件人(同一个人),还是为收件人分配多个角色?下载的示例代码对我能找到的缩写没有做任何事情。

现在的代码,使用 PHP SDK:

$sign_here = new \DocuSign\eSign\Model\SignHere(['anchor_string' => '{sig:1}']);
$signer_tabs = new \DocuSign\eSign\Model\Tabs(['sign_here_tabs' => [$sign_here]]);

$signer_props = [
'email' => $args['email'],
'name' => $args['name'],
'recipient_id' => count($this->arrSigners) + 1,
'role_name' => $args['role'],
'tabs' => $signer_tabs
];

# Create the signer recipient model
$this->arrSigners[] = new Signer($signer_props);

最佳答案

您可以将多种类型的选项卡添加到单个收件人,方法是将它们添加到签名者选项卡列表中。因此,在创建 InitialHere 选项卡后,您可以将其添加到列表中,如下所示:

$signer_tabs = new\DocuSign\eSign\Model\Tabs(['sign_here_tabs' => [$sign_here], 'initial_here_tabs' => [$initial_here]);

对于您的第一个问题,如果您使用文档中不存在的 anchor 字符串将“此处首字母缩写”选项卡添加到文档中,则该选项卡将不会出现,并且收件人也不需要首字母缩写。

关于php - DocuSign API : initialHere and signHere on the same document. ..或不是,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68412612/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com