Actions

QS

Preg validation/ja: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
No edit summary
Line 6: Line 6:
'''説明'''
'''説明'''


This option lets you specify [[Using_regular_expressions|a regular expression]] with which you can validate all the parts of a question.
この設定は、質問内のすべての値の検証に使う[[Using_regular_expressions/ja|正規表現]]を指定するものです。


If any question or subquestion value does not meet the validation requirements, the background colour of the text entry field will be changed to red so that users can easily see which parts of the question need to be corrected. Thus, you can do on-page validation. In this way you will '''not''' need to wait for the user to click on the submit button to validate the respective question.
If any question or subquestion value does not meet the validation requirements, the background colour of the text entry field will be changed to red so that users can easily see which parts of the question need to be corrected. Thus, you can do on-page validation. In this way you will '''not''' need to wait for the user to click on the submit button to validate the respective question.

Revision as of 07:18, 24 August 2018


(正規表現を使った)検証 (preg_validation)

説明

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

If any question or subquestion value does not meet the validation requirements, the background colour of the text entry field will be changed to red so that users can easily see which parts of the question need to be corrected. Thus, you can do on-page validation. In this way you will not need to wait for the user to click on the submit button to validate the respective question.

有効な値

  • 有効な任意の正規表現