Tab Separated Value survey structure/28/en: Difference between revisions
From LimeSurvey Manual
m (FuzzyBot moved page Translations:Tab Separated Value Survey Structure/28/en to Translations:Tab Separated Value survey structure/28/en without leaving a redirect: Part of translatable page "Tab Separated Value Survey Structure".) |
(Importing a new version from external source) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
One row per question. | 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. | ||
#class = 'Q' | #id => unique numeric identifier for the question, starting with number 1, use the same ID for additional languages belonging to current question | ||
#type/scale => type -- the (usually one letter) [[Question types|question type]] (e.g. 'M' is Multiple Choice) | #class => 'Q' | ||
#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 - Presentation#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 | ||
#language => language -- the language for the group (e.g. 'en') | #language => language -- the language for the group (e.g., 'en') | ||
#validation => preg -- the optional regular expression validation criteria for the question | #validation => preg -- the optional regular expression validation criteria for the question | ||
#mandatory => mandatory -- 'Y' if mandatory | #mandatory => mandatory -- 'Y' if mandatory |
Latest revision as of 16:30, 19 May 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