Tab Separated Value survey structure/28/en: Difference between revisions
From LimeSurvey Manual
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 4: | Line 4: | ||
#type/scale => type -- the (usually one letter) [[Question types|question type]] (e.g., 'M' is Multiple Choice) | #type/scale => type -- the (usually one letter) [[Question types|question type]] (e.g., 'M' is Multiple Choice) | ||
#name => title -- the unique question name (the root of the qcode naming system) | #name => title -- the unique question name (the root of the qcode naming system) | ||
#relevance => relevance -- the [[ | #relevance => relevance -- the [[ExpressionScript#Access_to_Variables|relevance equation]] for the question | ||
#text => question -- the language-specific text of the question | #text => question -- the language-specific text of the question | ||
#help => help -- the language-specific help text | #help => help -- the language-specific help text |
Revision as of 15:40, 9 March 2020
One question row per survey language (e.g., there would be 3 question rows if survey has 3 languages). Questions are assumed to belong to the group that precedes them.
- id => unique numeric identifier for the question, starting with number 1, use the same ID for additional languages belonging to current question
- class => 'Q'
- type/scale => type -- the (usually one letter) question type (e.g., 'M' is Multiple Choice)
- name => title -- the unique question name (the root of the qcode naming system)
- relevance => relevance -- the relevance equation for the question
- text => question -- the language-specific text of the question
- help => help -- the language-specific help text
- language => language -- the language for the group (e.g., 'en')
- validation => preg -- the optional regular expression validation criteria for the question
- mandatory => mandatory -- 'Y' if mandatory
- other => other -- 'Y' if the "Other" option should be available (only for some question types)
- default => default -- if set, this value is inserted into the defaultvalues table for this question
- same_default => same_default -- 'Y' for true, in which case any defaultvalue set for primary language applies to other languages