# suredonation/1.5.1/inc/blocks/checkbox/block.json

SureDonation – Donation Forms, Fundraising Campaigns &amp; Donor Management, version 1.5.1. 69 lines.

- Page: https://pluginprobe.com/plugins/suredonation/1.5.1/code/inc/blocks/checkbox/block.json
- Raw: https://pluginprobe.com/plugins/suredonation/1.5.1/raw/inc/blocks/checkbox/block.json
- Modified: 2026-09-09T06:00:02+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/suredonation/1.5.1/code/inc/blocks/checkbox/block.json#L10-L20`.

```json
{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "suredonation/checkbox",
	"title": "Checkbox",
	"description": "Adds a single checkbox for consent or opt-in, such as a newsletter sign-up or a Gift Aid declaration.",
	"category": "suredonation",
	"keywords": [ "checkbox", "check", "agree", "terms", "consent", "opt-in", "optin", "subscribe" ],
	"textdomain": "suredonation",
	"supports": {
		"reusable": false,
		"html": false
	},
	"example": {
		"attributes": {
			"preview": true
		}
	},
	"attributes": {
		"preview": {
			"type": "boolean",
			"default": false
		},
		"block_id": {
			"type": "string"
		},
		"checked": {
			"type": "boolean",
			"default": false
		},
		"required": {
			"type": "boolean",
			"default": false
		},
		"fieldWidth": {
			"type": "number",
			"default": 100
		},
		"label": {
			"type": "string",
			"default": "I agree to the terms and conditions"
		},
		"help": {
			"type": "string",
			"default": ""
		},
		"errorMsg": {
			"type": "string",
			"default": ""
		},
		"formId": {
			"type": "number",
			"default": 0
		},
		"slug": {
			"type": "string",
			"default": ""
		},
		"className": {
			"type": "string",
			"default": ""
		},
		"customClasses": {
			"type": "string",
			"default": ""
		}
	}
}

```
