Em validation sq/ja: Difference between revisions
From LimeSurvey Manual
Bravehorse (talk | contribs) (Created page with "各々のサブ質問(テキスト)を検証するための式です。検証条件に適合しないテキスト欄はエラーであることを示すため、背景色...") |
Bravehorse (talk | contribs) (Created page with "'''有効な値'''") |
||
Line 8: | Line 8: | ||
各々のサブ質問(テキスト)を検証するための式です。検証条件に適合しないテキスト欄はエラーであることを示すため、背景色がピンク色になります(.em_sq_fn_validation CSSスタイルを使用)。正規表現ベースの検証も可能です。 | 各々のサブ質問(テキスト)を検証するための式です。検証条件に適合しないテキスト欄はエラーであることを示すため、背景色がピンク色になります(.em_sq_fn_validation CSSスタイルを使用)。正規表現ベースの検証も可能です。 | ||
''' | '''有効な値''' | ||
Any equation that makes use of the [[Expression Manager]] syntax, without surrounding curly braces. | Any equation that makes use of the [[Expression Manager]] syntax, without surrounding curly braces. |
Revision as of 03:07, 19 May 2018
サブ質問の検証式 (em_validation_sq)
説明
各々のサブ質問(テキスト)を検証するための式です。検証条件に適合しないテキスト欄はエラーであることを示すため、背景色がピンク色になります(.em_sq_fn_validation CSSスタイルを使用)。正規表現ベースの検証も可能です。
有効な値
Any equation that makes use of the Expression Manager syntax, without surrounding curly braces.
Examples
For example, if you want to allow only numbers that are a multiple of 3 as answers, the equation would be:
(this / 3) == floor(this/3)
The reserved variable this is automatically replaced by a reference to the active text entry cell.