Actions

Translations

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 1: Line 1:
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.
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
#id => unique numeric identifier for the question, starting with number 1, use the same ID for additional languages belonging to current question
#class => 'Q'
#class => 'Q'
#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 [[Expression Manager#Access_to_Variables|relevance equation]]  for the question
#relevance => relevance -- the [[Expression Manager#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

Revision as of 15:40, 21 December 2018

Message definition (Tab Separated Value survey structure)
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 types|question type]] (e.g., 'M' is Multiple Choice)
#name => title -- the unique question name (the root of the qcode naming system)
#relevance => relevance -- the [[ExpressionScript - Presentation#Access_to_Variables|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

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.

  1. id => unique numeric identifier for the question, starting with number 1, use the same ID for additional languages belonging to current question
  2. class => 'Q'
  3. type/scale => type -- the (usually one letter) question type (e.g., 'M' is Multiple Choice)
  4. name => title -- the unique question name (the root of the qcode naming system)
  5. relevance => relevance -- the relevance equation for the question
  6. text => question -- the language-specific text of the question
  7. help => help -- the language-specific help text
  8. language => language -- the language for the group (e.g., 'en')
  9. validation => preg -- the optional regular expression validation criteria for the question
  10. mandatory => mandatory -- 'Y' if mandatory
  11. other => other -- 'Y' if the "Other" option should be available (only for some question types)
  12. default => default -- if set, this value is inserted into the defaultvalues table for this question
  13. same_default => same_default -- 'Y' for true, in which case any defaultvalue set for primary language applies to other languages