BooleanCollector
A Collector implementation for a single checkbox field.
{
"type": "SINGLE_CHECKBOX",
"key": "single-checkbox-field",
"label": "This is a sample checkbox test. ",
"required": true,
"inputType": "BOOLEAN",
"appearance": "CHECKBOX", # Optional, defaults to CHECKBOX. Can be either CHECKBOX or SWITCH.
"errorMessage": "Select the checkbox to continue.",
"richContent": {
"content": "This is a sample checkbox test. "
}
}Content copied to clipboard