Docusign复选框至少需要1

时间:2016-02-24 17:15:44

标签: docusignapi

我有一组复选框。必须检查这4个中的至少1个。有没有办法让这种情况发生?

$checkboxTabs[] = array(
                                "anchorYOffset" => "-2",
                                "anchorXOffset" => "-5",
                                "anchorString" => "{bk1}",
                                "selected" => false,
                                "tabLabel" => "bk1"

                            );
        $checkboxTabs[] = array(
                                "anchorYOffset" => "-2",
                                "anchorXOffset" => "-5",
                                "anchorString" => "{bk2}",
                                "selected" => false,
                                "tabLabel" => "bk2"
                            );
        $checkboxTabs[] = array(
                                "anchorYOffset" => "-2",
                                "anchorXOffset" => "-5",
                                "anchorString" => "{bk3}",
                                "selected" => false,
                                "tabLabel" => "bk3"
                            );
        $checkboxTabs[] = array(
                                "anchorYOffset" => "-2",
                                "anchorXOffset" => "-5",
                                "anchorString" => "{bk4}",
                                "selected" => false,
                                "tabLabel" => "bk4"
                            );

1 个答案:

答案 0 :(得分:0)

不支持强制性复选框。您可以使用的替代方案是单选按钮。