Actions

QS

QS:Date max

From LimeSurvey Manual

Revision as of 09:09, 19 May 2018 by Bravehorse (talk | contribs) (Created page with "'''有効な値'''")


日付の上限 (date_max)

説明

この質問属性で、日付の質問で上限となる値を設定できます(y-m-d形式、英語で有効な文字列 - 詳しくは以下を参照してください)。ポップアップでもドロップダウンでも使えます。

  注意 : 式マネージャーの検証オプションにより、日付の上限を設定することもできますが、ポップアップカレンダーを使用する場合や同じページの先行する質問に依存する式を使用する場合は、ポップアップカレンダーに年が正しく表示されません。


有効な値

  • Any date value in format YYYY-MM-DD (eg., 2018-08-24);
  • Any year value;
  • Any English string : "now", "-10 years", "tomorrow";
  • Reference to another date/time question : AnotherDateQuestion (using the question code);
  • Expressions: With expressions, a date can be dynamically calculated. For example, you can use a date from a previous answer + 3 days as a maximum date for the present question by entering: date("Y-m-d",strtotime(departuredate)+3*60*60*24).