My name is Gloriana and I am part of DocuSign's Developer Support team.
In order for this to work correctly, the properties of conditionalParentLabel and conditionalParentValue of the text tab are the ones that have to be populated with the label of the radio button and the value of the radio button that will be in charge of the conditional logic, the radio button itself does not have to have these fields populated. Below is an example on how these should be defined for envelope creation to achieve this behaviour:
"textTabs": [
{
"tabLabel": "Text",
"conditionalParentLabel": "Radio Group1",
"conditionalParentValue": "Yes",
"isPrefilledTab": false,
"fontSize": "size9",
"underline": false,
"italic": false,
"fontColor": "black",
"bold": false,
"font": "lucidaconsole",
"required": true,
"locked": false,
"concealValueOnDocument": false,
"name": "",
"shared": false,
"requireAll": false,
"requireInitialOnSharedChange": false,
"value": "",
"validationPattern": "",
"validationMessage": "",
"disableAutoSize": false,
"maxLength": 4000,
"width": 84,
"height": 22,
"mergeFieldXml": "",
"recipientId": "64895961",
"pageNumber": 1,
"documentId": "1",
"xPosition": 426,
"yPosition": 116,
"trackingId": "c275",
"trackingid": "c275"
}
],
"radioGroupTabs": [
{
"tabLabel": "Radio Group2",
"conditionalParentLabel": null,
"conditionalParentValue": null,
"isPrefilledTab": false,
"fontSize": "size9",
"underline": false,
"italic": false,
"fontColor": "black",
"bold": false,
"font": "lucidaconsole",
"shared": false,
"name": "",
"tooltip": null,
"recipientId": "1",
"documentId": "1",
"groupName": "Radio Group1",
"width": 0,
"height": 0,
"radios": [
{
"tabLabel": "Radio Group2",
"conditionalParentLabel": null,
"conditionalParentValue": null,
"isPrefilledTab": false,
"fontSize": "size9",
"underline": false,
"italic": false,
"fontColor": "black",
"bold": false,
"font": "lucidaconsole",
"shared": false,
"required": true,
"locked": false,
"name": "",
"selected": false,
"value": "Yes",
"tooltip": null,
"recipientId": "1",
"pageNumber": 1,
"documentId": "1",
"groupName": "Radio Group1",
"xPosition": 342,
"yPosition": 103,
"width": 0,
"height": 0,
"trackingId": "c291",
"trackingid": "c291"
},
{
"tabLabel": "Radio Group2",
"conditionalParentLabel": null,
"conditionalParentValue": null,
"isPrefilledTab": false,
"fontSize": "size9",
"underline": false,
"italic": false,
"fontColor": "black",
"bold": false,
"font": "lucidaconsole",
"shared": false,
"required": true,
"locked": false,
"name": "",
"selected": false,
"value": "No",
"tooltip": null,
"recipientId": "1",
"pageNumber": 1,
"documentId": "1",
"groupName": "Radio Group1",
"xPosition": 342,
"yPosition": 123,
"width": 0,
"height": 0,
"trackingId": "c292",
"trackingid": "c292"
}
]