I am trying to set conditional rule for checkbox, such that when the checkbox is "Checked", the document can be signed. I am able to do in the template in DocuSign(see pic - Setting the conditional rule on checkbox)
When the checkbox is checked, the signature tab (and date-signed tab) will enable.
When I am trying to implement this in code, I am not able to set any conditional rule over the checkbox.
SignHere signHere = new SignHere();
signHere.setTabLabel("signHere");
signHere.setDocumentId("1");
signHere.setPageNumber("1");
signHere.setXPosition("113");
signHere.setYPosition("620");
signHere.setConditionalParentLabel("checkbox");
signHere.setConditionalParentValue("Checked");
DateSigned dateSigned = new DateSigned();
dateSigned.setDocumentId("1");
dateSigned.setPageNumber("1");
dateSigned.setXPosition("403");
dateSigned.setYPosition("630");
Checkbox checkbox = new Checkbox();
checkbox.setDocumentId("1");
checkbox.setPageNumber("1");
checkbox.setXPosition("130");
checkbox.setYPosition("564");
checkbox.setRequired("true");
checkbox.setTabLabel("checkbox");
Where am I going wrong?