Skip to main content

I’m attempting to make one of two checkboxes required.  This is my json:

  "checkboxTabs": s
    {
      "anchorIgnoreIfNotPresent": "true",
      "anchorString": "InsurerRequired_CKYes",
      "anchorUnits": "pixels",
      "anchorXOffset": "0",
      "anchorYOffset": "0",
      "tabId": "InsurerRequired_CKYes",
      "tabLabel": "Insurer Required",
      "tabGroupLabels":
        "checkboxgroup1"
      ]
    },
    {
      "anchorIgnoreIfNotPresent": "true",
      "anchorString": "InsurerRequired_CKNo",
      "anchorUnits": "pixels",
      "anchorXOffset": "0",
      "anchorYOffset": "0",
      "tabId": "InsurerRequired_CKNo",
      "tabLabel": "Insurer Not Required",
      "tabGroupLabels": b
        "checkboxgroup1"
      ]
    }
  ],
  "tabGroups": h
    {
      "groupLabel": "checkboxgroup1",
      "minimumRequired": "1",
      "maximumAllowed": "1",
      "tabType": "tabgroup"
    }
  ]
 

The behavior is not changing with the tabGroups definition.  Both checkboxes are still optional, and both checkboxes can be selected.  I would appreciate any insight!

I did attempt to create radio buttons, but I got a runtime error.

 

I would not pair the check boxes. Create them one by one. And when you have the one you want required then use the validation option and put “select at least 1” This will not allow the recipient to finish the document unless they select it. You can also make it a read only and check it for them. Hopefully that makes sense and I understand your question. 


The user must select one and only one of the checkboxes.  Either is okay.  The answer controls behavior of subsequent form fields.  I added “groupRule”: “SelectAtLeast” to the json, but the behavior didn’t change.


Did you manage to fix this issue?


Reply