> For the complete documentation index, see [llms.txt](https://api-docs.rightsline.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.rightsline.com/config/data-types/checkbox/yes-only.md).

# Yes only

To create a Yes Only checkbox, create an LOV called Yes (only) with solely the value “Yes.” This will result in a checkbox with only the Yes option.

```jsonp
{
     "fields": [
        {
           "fieldName": "Yes Only",
            "label": "yes_only",
            "required": false,
            "maxLength": 10000,
            "editable": true,
            "dataType": "Checkbox",
            "allowMultiple": false,
            "listOfValues": [
                {
                    "id": 1,
                    "label": "Yes",
                    "xref": null,
                    "childValues": []
                }
            ]
        },
        ...
    ]
}
```
