我正在尝试使用pdflib创建一个广播组。 这段代码有效:
my $optlist = "required buttonstyle=circle bordercolor={gray 0.8} backgroundcolor={white}";
$p->create_field($llx, $lly, $llx + $width, $lly + $height,"colors.standard", "radiobutton", $optlist);
$p->create_field($llx + 115, $lly, $llx + $width + 115, $lly + $height,"colors.yellow", "radiobutton", $optlist);
$p->create_field($llx + 230, $lly, $llx + $width + 230, $lly + $height,"colors.blue", "radiobutton", $optlist);
当我尝试按照Adobe Sign的要求进行设置时,它给我带来了路径错误或名称显示不正确的错误。
{{Color_es_:signer1:radio(Red)}}
{{Color_es_:signer1:radio(Blue)}}
{{Color_es_:signer1:radio(Green)}}
如果必须使用其他perl模块,则可以。
答案 0 :(得分:1)
问题不是pdflib,而是Adobe Sign文档。
对他们 {{Color_es_:signer1:radio(Red)}}表示将组名输入为Color_es_:signer1:radio,将值输入为Red。
一旦我们发现pdflib可以正常工作。希望这对其他人有帮助。