/
config.xml
335 lines (329 loc) · 11.8 KB
/
config.xml
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
<?xml version="1.0" encoding="UTF-8"?>
<config>
<!-- Metadata -->
<metadata>
<name>yesno</name>
<type>question_theme</type>
<title>Yes/No</title>
<creationDate>09/08/2018</creationDate>
<author>Dominik Vitt</author>
<authorEmail>dominik.vitt@limesurvey.org</authorEmail>
<authorUrl>http://www.limesurvey.org</authorUrl>
<copyright>Copyright (C) 2005 - 2018 LimeSurvey Gmbh, Inc. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later</license>
<version>1.0</version>
<apiVersion>1</apiVersion>
<description>Yes/No question type configuration</description>
<questionType>Y</questionType>
<group>Mask questions</group>
<subquestions>0</subquestions>
<answerscales>0</answerscales>
<hasdefaultvalues>1</hasdefaultvalues>
<assessable>0</assessable>
<class>yes-no</class>
</metadata>
<compatibility>
<version>4.0</version>
</compatibility>
<!--
List of the css/js files to load.
Any file here will be loaded via the asset manager (when in config.php debug = 0)
-->
<files>
<css>
<filename></filename>
</css>
<js>
<filename></filename>
</js>
<preview>
<filename></filename>
</preview>
</files>
<generalattributes>
<attribute>question_template</attribute>
<attribute>gid</attribute>
<!-- <attribute>other</attribute>-->
<attribute>mandatory</attribute>
<attribute>relevance</attribute>
<attribute>encrypted</attribute>
<attribute>save_as_default</attribute>
<attribute>clear_default</attribute>
<attribute>preg</attribute>
</generalattributes>
<!-- Question attributes -->
<attributes>
<!-- Display Attributes START -->
<attribute>
<name>display_type</name>
<category>Display</category>
<sortorder>90</sortorder>
<inputtype>buttongroup</inputtype>
<options>
<option>
<value>0</value>
<text>Button group</text>
</option>
<option>
<value>1</value>
<text>Radio list</text>
</option>
</options>
<default>0</default>
<help>Use button group or radio list</help>
<caption>Display type</caption>
<i18n></i18n>
<readonly></readonly>
<readonly_when_active></readonly_when_active>
<expression></expression>
</attribute>
<attribute>
<name>hide_tip</name>
<category>Display</category>
<sortorder>100</sortorder>
<inputtype>switch</inputtype>
<options>
<option>
<value>0</value>
<text>No</text>
</option>
<option>
<value>1</value>
<text>Yes</text>
</option>
</options>
<default>0</default>
<help>Hide the tip that is normally shown with a question</help>
<caption>Hide tip</caption>
<i18n></i18n>
<readonly></readonly>
<readonly_when_active></readonly_when_active>
<expression></expression>
</attribute>
<attribute>
<name>hidden</name>
<category>Display</category>
<sortorder>101</sortorder>
<inputtype>switch</inputtype>
<options>
<option>
<value>0</value>
<text>No</text>
</option>
<option>
<value>1</value>
<text>Yes</text>
</option>
</options>
<default>0</default>
<help>Hide this question at any time. This is useful for including data using answer prefilling.</help>
<caption>Always hide this question</caption>
<i18n></i18n>
<readonly></readonly>
<readonly_when_active></readonly_when_active>
<expression></expression>
</attribute>
<attribute>
<name>cssclass</name>
<category>Display</category>
<sortorder>102</sortorder>
<inputtype>text</inputtype>
<expression>1</expression>
<help>Add additional CSS class(es) for this question. Use a space between multiple CSS class names. You
may use expressions - remember this part is static.
</help>
<caption>CSS class(es)</caption>
<i18n></i18n>
<readonly></readonly>
<readonly_when_active></readonly_when_active>
</attribute>
<attribute>
<name>printable_help</name>
<category>Display</category>
<sortorder>201</sortorder>
<inputtype>text</inputtype>
<expression>1</expression>
<i18n>1</i18n>
<default></default>
<help>In the printable version the condition is being replaced with this explanation text.</help>
<caption>Relevance help for printable survey</caption>
<readonly></readonly>
<readonly_when_active></readonly_when_active>
</attribute>
<!-- Display Attributes END -->
<!-- Logic Attributes START -->
<attribute>
<name>random_group</name>
<category>Logic</category>
<sortorder>180</sortorder>
<inputtype>text</inputtype>
<help>Place questions into a specified randomization group, all questions included in the specified group will appear in a random order</help>
<caption>Randomization group name</caption>
<i18n></i18n>
<readonly></readonly>
<readonly_when_active></readonly_when_active>
<expression></expression>
</attribute>
<!-- Logic Attributes END -->
<!-- Other Attributes START -->
<attribute>
<name>page_break</name>
<category>Other</category>
<sortorder>100</sortorder>
<inputtype>switch</inputtype>
<options>
<option>
<value>0</value>
<text>No</text>
</option>
<option>
<value>1</value>
<text>Yes</text>
</option>
</options>
<default>0</default>
<help>Insert a page break before this question in printable view by setting this to Yes.</help>
<caption>Insert page break in printable view</caption>
<i18n></i18n>
<readonly></readonly>
<readonly_when_active></readonly_when_active>
<expression></expression>
</attribute>
<attribute>
<name>scale_export</name>
<category>Other</category>
<sortorder>100</sortorder>
<inputtype>singleselect</inputtype>
<options>
<option>
<value>0</value>
<text>Default</text>
</option>
<option>
<value>1</value>
<text>Nominal</text>
</option>
<option>
<value>2</value>
<text>Ordinal</text>
</option>
<option>
<value>3</value>
<text>Scale</text>
</option>
</options>
<default>0</default>
<help>Set a specific SPSS export scale type for this question</help>
<caption>SPSS export scale type</caption>
<i18n></i18n>
<readonly></readonly>
<readonly_when_active></readonly_when_active>
<expression></expression>
</attribute>
<!-- Other Attributes END -->
<!-- Statistics Attributes START -->
<attribute>
<name>public_statistics</name>
<category>Statistics</category>
<sortorder>80</sortorder>
<inputtype>switch</inputtype>
<options>
<option>
<value>0</value>
<text>No</text>
</option>
<option>
<value>1</value>
<text>Yes</text>
</option>
</options>
<default>0</default>
<help>Show statistics of this question in the public statistics page</help>
<caption>Show in public statistics</caption>
<i18n></i18n>
<readonly></readonly>
<readonly_when_active></readonly_when_active>
<expression></expression>
</attribute>
<attribute>
<name>statistics_showgraph</name>
<category>Statistics</category>
<inputtype>switch</inputtype>
<sortorder>101</sortorder>
<options>
<option>
<value>0</value>
<text>No</text>
</option>
<option>
<value>1</value>
<text>Yes</text>
</option>
</options>
<help>Display a chart in the statistics?</help>
<caption>Display chart</caption>
<default>1</default>
<i18n></i18n>
<readonly></readonly>
<readonly_when_active></readonly_when_active>
<expression></expression>
</attribute>
<attribute>
<name>statistics_graphtype</name>
<category>Statistics</category>
<inputtype>singleselect</inputtype>
<sortorder>102</sortorder>
<options>
<option>
<value>0</value>
<text>Bar chart</text>
</option>
<option>
<value>1</value>
<text>Pie chart</text>
</option>
<option>
<value>2</value>
<text>Radar</text>
</option>
<option>
<value>3</value>
<text>Line</text>
</option>
<option>
<value>4</value>
<text>PolarArea</text>
</option>
<option>
<value>5</value>
<text>Doughnut</text>
</option>
</options>
<help>Select the type of chart to be displayed</help>
<caption>Chart type</caption>
<default>0</default>
<i18n></i18n>
<readonly></readonly>
<readonly_when_active></readonly_when_active>
<expression></expression>
</attribute>
<!-- Statistics Attributes END -->
<!-- Timer Attributes START -->
<!-- Timer Attributes END -->
<!-- Input Attributes START -->
<!-- Input Attributes END -->
<!-- Location Attributes START -->
<!-- Location Attributes END -->
<!-- File metadata Attributes START -->
<!-- File meta Attributes END -->
<!-- Slider Attributes START -->
<!-- Slider Attributes END -->
</attributes>
<!-- Core question js/css configuration -->
<engine>
<load_core_css>true</load_core_css>
<load_core_js>true</load_core_js>
<show_as_template>true</show_as_template>
<show_as_question_type>true</show_as_question_type>
</engine>
</config>