DocuSign 单选按钮条件字段
DocuSign Radio button conditional field
我正在研究 DocuSign 功能的 POC。少数要求之一是条件字段。我能够获得另一个使用复选框和文本框的文本框的条件字段可见性。 DocuSign 文档说 "You can apply conditional logic to the following field types:Checkbox, Radio Button, Drop-down,Text"。我无法看到单选组或单选按钮的 TabLabel 属性。是否有任何示例可用于演示此功能。或者至少如果可能的话。
谢谢
您必须定义一个 RadioGroup 选项卡并设置 GroupName。
然后您可以在另一个选项卡上设置 ConditionalParentLabel 以有条件地显示它。 ConditionalParentValue 是控制此选项卡可见性的父选项卡的值。
在以下示例中,当 RadioButton 选择为 "Y" 时,将显示 TextBox。
查看完整样本 here。
var textTab = new Text()
{
DocumentId = "1",
PageNumber = "1",
RecipientId = "1",
XPosition = "100",
YPosition = "100",
Height = "11",
Width = "42",
ConditionalParentLabel = "RadioGroupTest",
ConditionalParentValue = "Y"
};
var radioGroup = new RadioGroup()
{
GroupName = "RadioGroupTest",
DocumentId = "1",
RecipientId = "1",
Radios = new List<Radio>()
{
new Radio()
{
PageNumber = "1",
XPosition = "100",
YPosition = "70",
Value = "Y"
},
new Radio()
{
PageNumber = "1",
XPosition = "130",
YPosition = "70",
Value = "N"
}
}
};
我正在研究 DocuSign 功能的 POC。少数要求之一是条件字段。我能够获得另一个使用复选框和文本框的文本框的条件字段可见性。 DocuSign 文档说 "You can apply conditional logic to the following field types:Checkbox, Radio Button, Drop-down,Text"。我无法看到单选组或单选按钮的 TabLabel 属性。是否有任何示例可用于演示此功能。或者至少如果可能的话。
谢谢
您必须定义一个 RadioGroup 选项卡并设置 GroupName。
然后您可以在另一个选项卡上设置 ConditionalParentLabel 以有条件地显示它。 ConditionalParentValue 是控制此选项卡可见性的父选项卡的值。
在以下示例中,当 RadioButton 选择为 "Y" 时,将显示 TextBox。
查看完整样本 here。
var textTab = new Text()
{
DocumentId = "1",
PageNumber = "1",
RecipientId = "1",
XPosition = "100",
YPosition = "100",
Height = "11",
Width = "42",
ConditionalParentLabel = "RadioGroupTest",
ConditionalParentValue = "Y"
};
var radioGroup = new RadioGroup()
{
GroupName = "RadioGroupTest",
DocumentId = "1",
RecipientId = "1",
Radios = new List<Radio>()
{
new Radio()
{
PageNumber = "1",
XPosition = "100",
YPosition = "70",
Value = "Y"
},
new Radio()
{
PageNumber = "1",
XPosition = "130",
YPosition = "70",
Value = "N"
}
}
};