PluginProbe
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz / 0.0.13
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz v0.0.13
2.12.7 2.12.6 2.12.5 2.12.4 2.12.3 2.12.2 2.12.1 2.12.0 2.11.1 2.11.0 2.10.1 2.10.0 2.9.1 2.9.0 2.8.2 2.8.1 2.7.0 2.7.1 2.8.0 trunk 0.0.10 0.0.11 0.0.12 0.0.13 0.0.2 All 97 releases
sureforms / inc / blocks / multichoice / block.json

block.json in SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz 0.0.13, at inc/blocks/multichoice/block.json

94 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 2,
3 "name": "srfm/multi-choice",
4 "title": "Multiple Choice",
5 "description": "Displays a SureForm Multi-Choice Field",
6 "category": "sureforms",
7 "keywords": [ "multi-choice", "quiz", "multi", "sureforms" ],
8 "textdomain": "sureforms",
9 "supports": {
10 "reusable": false,
11 "html": false
12 },
13 "example": {
14 "attributes": {
15 "preview": true
16 }
17 },
18 "attributes": {
19 "preview": {
20 "type": "boolean",
21 "default": false
22 },
23 "block_id": {
24 "type": "string"
25 },
26 "required": {
27 "type": "boolean"
28 },
29 "singleSelection": {
30 "type": "boolean"
31 },
32 "minValue": {
33 "type": "number"
34 },
35 "maxValue": {
36 "type": "number"
37 },
38 "verticalLayout": {
39 "type": "boolean"
40 },
41 "options": {
42 "type": "array",
43 "default": [
44 {
45 "optionTitle": "Option 1",
46 "icon": "",
47 "image": ""
48 }
49 ]
50 },
51 "fieldWidth": {
52 "type": "number",
53 "default": 100
54 },
55 "choiceWidth": {
56 "type": "number",
57 "default": 50
58 },
59 "label": {
60 "default": "Multi Choice",
61 "type": "string",
62 "selector": "input"
63 },
64 "help": {
65 "type": "string",
66 "default": ""
67 },
68 "style": {
69 "type": "string",
70 "default": "buttons"
71 },
72 "errorMsg": {
73 "type": "string",
74 "default": ""
75 },
76 "formId": {
77 "type": "number",
78 "default": ""
79 },
80 "isConditionalLogic":{
81 "type":"boolean",
82 "default":false
83 },
84 "slug":{
85 "type":"string",
86 "default":""
87 },
88 "optionType": {
89 "type": "string",
90 "default": "icon"
91 }
92 }
93 }
94