英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论