Skip to main content

I have three check box and mapping max and minimum required value, but finally user to select all checkbox. After submitting the document, the checkbox displayed an 'X' mark." we need "tick" mark. 

pls refer the below code.

        Checkbox checkbox1 = new Checkbox
        {
            TabLabel = "LionTab",
            DocumentId = "1",
            PageNumber = "1",
            RecipientId = "1",
            XPosition = "200",
            YPosition = "300",
            TabGroupLabels = new List<string>
{
    "checkboxgroup1"
}
        };
        Checkbox checkbox2 = new Checkbox
        {
            TabLabel = "TigerTab",
            DocumentId = "1",
            PageNumber = "1",
            RecipientId = "1",
            XPosition = "220",
            YPosition = "300",
            TabGroupLabels = new List<string>
{
    "checkboxgroup1"
}
        };
        Checkbox checkbox3 = new Checkbox
        {
            TabLabel = "BearTab",
            DocumentId = "1",
            PageNumber = "1",
            RecipientId = "1",
            XPosition = "240",
            YPosition = "300",
            TabGroupLabels = new List<string>
{
    "checkboxgroup1"
}
        };
        TabGroup checkboxTabGroup = new TabGroup
        {
            GroupLabel = "checkboxgroup1",
            ValidationMessage = "Please check a box",
            GroupRule = "SelectExactly",
            MinimumRequired = "1",
            MaximumAllowed = "1",
            RecipientId = "1",
            DocumentId = "1",
            PageNumber = "1",
            XPosition = "0",
            YPosition = "0",
            TabScope = "Document", // or "envelope"
            TabType = "tabgroup"
        };

 

 

Hi Roshan,

If you want the user to select all checkboxes, you should set the MinimumRequired and MaximumAllowed properties to the total number of checkboxes. However, your initial requirement was to allow the user to select all checkboxes, but the GroupRule was set to “SelectExactly” with MinimumRequired and MaximumAllowed set to 1. This configuration forces the user to select exactly one checkbox.

you can find more details and brief explanation in this post: https://www.docusign.com/blog/developers/tabs-deep-dive-checkboxes-and-radio-groups

Thank you so much and if you need any help you can raise a support case anytime at https://support.docusign.com


Reply