DocuSign附件可选,不在php API中必需。

huangapple go评论74阅读模式
英文:

DocuSign attachment optional not required in php api

问题

有没有办法使附件变成可选的

$attachment2 = new Text([
    'document_id' => '1',
    'page_number' => '8',
    'x_position' => "451",
    'y_position' => "307",
    'access_control' => "attachment2",
    'attachment_id' => "1",
    'attachment_type' => "",
    'data' => null,
    'label' => "attachment2",
    'name' => "attachment2",
    'remote_url' => null,
    'tab_label' => "Attachment 0cabbf65-8853-4651-a5a5-122d36adf439",
    'height' => "10",
    'width' => "10",
    'required' => "false"
]);

我正在使用 Laravel PHP API。

英文:

Is there any way how to make attachments optional

$attachment2 = new Text([
            'document_id' => '1',
            'page_number' => '8',
            'x_position' => "451",
            'y_position' => "307",
            'access_control' => "attachment2",
            'attachment_id' => "1",
            'attachment_type' => "",
            'data' => null,
            'label' => "attachment2",
            'name' => "attachment2",
            'remote_url' => null,
            'tab_label' => "Attachment 0cabbf65-8853-4651-a5a5-122d36adf439",
            'height' => "10",
            'width' => "10",
            'required' => "false"
        ]);

I am using Laravel php api

答案1

得分: 0

对于附件选项卡,您使用:

'optional' => "true"

对于文本选项卡,您使用:

'required' => "false"

抱歉不一致,但这就是做法。

英文:

For Attachment tabs you use:

'optional' => "true"

For Text tabs you use

'required' => "false"

Sorry for the inconsistency, but that's how you do it

huangapple
  • 本文由 发表于 2023年6月15日 19:34:13
  • 转载请务必保留本文链接:https://go.coder-hub.com/76482054.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定