# sureforms/2.10.1/inc/blocks/input/block.json

SureForms – Contact Form Builder, AI Forms, Payment Form, Survey &amp; Quiz, version 2.10.1. 93 lines.

- Page: https://pluginprobe.com/plugins/sureforms/2.10.1/code/inc/blocks/input/block.json
- Raw: https://pluginprobe.com/plugins/sureforms/2.10.1/raw/inc/blocks/input/block.json
- Modified: 2026-03-23T10:59:44+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/sureforms/2.10.1/code/inc/blocks/input/block.json#L10-L20`.

```json
{
  "$schema": "https://json.schemastore.org/block.json",
	"apiVersion": 3,
	"name": "srfm/input",
	"title": "Text",
	"description": "Displays a SureForms Text Field",
	"category": "sureforms",
	"keywords": [ "text", "input", "custom", "field", "name" ],
	"textdomain": "sureforms",
	"supports": {
		"reusable": false,
		"html": false
	},
	"example": {
		"attributes": {
			"preview": true
		}
	},
	"attributes": {
		"preview": {
			"type": "boolean",
			"default": false
		},
		"block_id": {
			"type": "string"
		},
		"defaultValue": {
			"type": "string",
			"default": ""
		},
		"required": {
			"type": "boolean",
			"default": false
		},
		"isUnique": {
			"type": "boolean",
			"default": false
		},
		"duplicateMsg": {
			"type": "string",
			"default": ""
		},
		"placeholder": {
			"type": "string",
			"default": ""
		},
		"fieldWidth": {
			"type": "number",
			"default": 100
		},
		"label": {
			"type": "string",
			"default": "Text Field"
		},
		"help": {
			"type": "string",
			"default": ""
		},
		"errorMsg": {
			"type": "string",
			"default": ""
		},
		"textLength": {
			"type": "number",
			"default": 100
		},
		"formId": {
			"type": "number",
			"default": ""
		},
		"isConditionalLogic": {
			"type": "boolean",
			"default": false
		},
		"slug": {
			"type": "string",
			"default": ""
		},
		"inputMask": {
			"type": "string",
			"default": "none"
		},
		"customInputMask": {
			"type": "string",
			"default": ""
		},
		"readOnly": {
			"type": "boolean",
			"default": false
		}
	}
}

```
