-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.json
135 lines (135 loc) · 3.51 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"instructions": [
"<p>",
"Fill out the form below, and click <b>Send</b> to submit it.",
"If that should fail, simply click <b>Download Form</b> and manually",
"email the completed form to:",
"<strong class='email-placeholder'>[Email Address]</strong>.",
"</p>"
],
"subject": "Your Form Subject",
"title": "Your Custom Title",
"send_button_text": "Custom Submit Text",
"download_button_text": "Custom Download Text",
"missing_field_message": "Custom Missing Field Alert Message",
"enable_form_download": true,
"form_backend_url": null,
"ignore_file_upload": true,
"email": "[email protected]",
"questions": [
{
"label": "Upload funny memes",
"name": "meme_imgs",
"type": "file",
"required": true,
"custom": {
"multiple": true
}
},
{
"label": [
"This is a multiline label. It is intended to make it easier to write",
"multiline questions and include <i>interesting</i>",
"<a href='https://developer.mozilla.org/en-US/docs/Web/HTML'",
"target='_blank'>HTML Syntax</a>",
"directly in your <i>question text</i>"
],
"name": "multiline_html_question",
"type": "text",
"required": false
},
{
"label": "Select your favorite color",
"name": "favorite_color",
"type": "selectbox",
"required": true,
"options": [
{
"label": "--Choose your favorite color(s)--",
"value": "",
"selected": true,
"disabled": true
},
{ "label": "Red", "value": "red" },
{ "label": "Blue", "value": "blue" },
{ "label": "Green", "value": "green" },
{ "label": "Yellow", "value": "yellow" },
{ "label": "Purple", "value": "purple" },
{ "label": "Orange", "value": "orange" },
{ "label": "Pink", "value": "pink" },
{ "label": "Black", "value": "black" },
{ "label": "White", "value": "white" }
],
"custom": {
"multiple": true
}
},
{
"label": "имя (Name)",
"name": "name",
"type": "text",
"required": true
},
{
"label": "ایمیل (Email)",
"name": "email",
"type": "email",
"required": true
},
{
"label": "Telephone Number (Optional)",
"name": "telephone",
"type": "tel",
"required": false
},
{
"label": "Age",
"name": "age",
"type": "number",
"required": true
},
{
"label": "Appointment Date/Time",
"name": "apt_time",
"type": "datetime-local",
"required": true
},
{
"label": "在历史上的军事战争中,你认为最关键的战略决策是什么",
"name": "chinese_question",
"type": "textarea",
"required": true,
"custom": {
"minlength": 10,
"maxlength": 100
}
},
{
"label": "Website",
"name": "site_url",
"type": "url",
"required": true
},
{
"label": "Select your country",
"name": "country",
"type": "selectbox",
"required": true,
"options": [
{
"label": "--Select all that apply--",
"value": "",
"selected": true,
"disabled": true
},
{ "label": "USA", "value": "USA" },
{ "label": "Canada", "value": "CAN" },
{ "label": "United Kingdom", "value": "UK" },
{ "label": "Australia", "value": "AUS" }
],
"custom": {
"multiple": true
}
}
]
}