Actions

Translations

Tab Separated Value survey structure/28/ja: Difference between revisions

From LimeSurvey Manual

No edit summary
No edit summary
 
Line 4: Line 4:
#type/scale => タイプ(通常1文字であらわされる[[Question types/ja|質問タイプ]])(例: 複数選択は'M')
#type/scale => タイプ(通常1文字であらわされる[[Question types/ja|質問タイプ]])(例: 複数選択は'M')
#name => タイトル(固有の質問名でqcode命名システムで利用)
#name => タイトル(固有の質問名でqcode命名システムで利用)
#relevance => 出現条件(質問に対する[[ExpressionScript/ja#Access_to_Variables|出現条件の式]])
#relevance => 出現条件(質問に対する[[ExpressionScript - Presentation/ja#.E5.A4.89.E6.95.B0.E3.81.B8.E3.81.AE.E3.82.A2.E3.82.AF.E3.82.BB.E3.82.B9|出現条件の式]])
#text => 質問(言語ごとの質問テキスト)
#text => 質問(言語ごとの質問テキスト)
#help => ヘルプ(言語ごとのヘルプテキスト)
#help => ヘルプ(言語ごとのヘルプテキスト)

Latest revision as of 13:28, 22 May 2020

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

アンケートの言語ごとに1行あります(例えば、アンケートに3つの言語がある場合は質問の行が3つになります)。質問は先行する行のグループに属しているとみなされます。

  1. id => 質問に対して一意の数値の識別子。1から始まり、現在の質問に対応する他の言語の質問に同じIDを使用します。
  2. class => 'Q'
  3. type/scale => タイプ(通常1文字であらわされる質問タイプ)(例: 複数選択は'M')
  4. name => タイトル(固有の質問名でqcode命名システムで利用)
  5. relevance => 出現条件(質問に対する出現条件の式
  6. text => 質問(言語ごとの質問テキスト)
  7. help => ヘルプ(言語ごとのヘルプテキスト)
  8. language => 言語(グループの言語。例: 'en')
  9. validation => preg(質問の検証条件として使用する正規表現)
  10. mandatory => 回答必須フラグ(必須の時は'Y')
  11. other => その他(一部の質問タイプで"その他"を使用する場合'Y')
  12. default => 既定値(設定した場合は、defaultvaluesテーブルにこの値がセットされます)
  13. same_default => 同一の既定値(基本言語に設定した既定値を他の言語にも当てはめる場合は'Y')