Search code examples
docusignapi

Docusign REST API : make checkboxTab required on an unknown page


I'm trying to add a required CheckboxTab on a document

I already found this answer explaining how to do it using a TabGroup : Checkbox validation using Docusign REST API

Problem is : since I don't know in advance where the CheckboxTab will be located in the document, i'm auto-placing it using an anchor string,

And for the TabGroup to function, one needs to pass the pageNumber parameter (which, given the latter, is unkwown)

Is there a way to achieve what I want to do ?


Solution

  • You can add an anchor string for each checkbox tab so that the tabs will be placed automatically in the document. Unfortunately the pageNumber and documentId fields are required for tab groups so you will need to know which page number the checkboxes should appear on if you want to use a tab group to enforce validation on the checkbox group.