Actions

QS

Preg validation/ja: Difference between revisions

From LimeSurvey Manual

(Created page with "'''説明'''")
(Created page with "この設定は、質問内のすべての値チェックに使う正規表現を指定するものです。")
Line 6: Line 6:
'''説明'''
'''説明'''


This option lets you specify a regular expression with which to validate all parts of a question.
この設定は、質問内のすべての値チェックに使う正規表現を指定するものです。


If any question or sub-question value does not meet the validation requirements, the background color of the text entry field will be changed to red {{NewIn|1.92}} so that users can easily see which parts  of the question need to be corrected.  Thus, you can do on-page validation and do not need to wait for the user to click submit in order to validate the question.
If any question or sub-question value does not meet the validation requirements, the background color of the text entry field will be changed to red {{NewIn|1.92}} so that users can easily see which parts  of the question need to be corrected.  Thus, you can do on-page validation and do not need to wait for the user to click submit in order to validate the question.

Revision as of 04:03, 5 February 2014


値チェック(正規表現を使う)(preg_validation)

説明

この設定は、質問内のすべての値チェックに使う正規表現を指定するものです。

If any question or sub-question value does not meet the validation requirements, the background color of the text entry field will be changed to red (New in 1.92 ) so that users can easily see which parts of the question need to be corrected. Thus, you can do on-page validation and do not need to wait for the user to click submit in order to validate the question.

Valid values

  • Any valid regular expression

Example

  • See multiple examples here