Actions

QS

Preg validation/de: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages />
<languages />
<onlyinclude>
<onlyinclude>
 
===Validation (using regular expressions) (preg_validation)===
===Validierung (preg_validation)===


'''Beschreibung'''
'''Beschreibung'''


Mit dieser Option können Sie einen regulären Ausdruck angeben, mit der alle Antworten einer Frage überprüft werden.
This option lets you specify [[Using_regular_expressions|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 subquestion value does not meet the validation requirements, the background color 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.


'''Gültige Werte'''
'''Gültige Werte'''
*Jeder gültige reguläre Ausdruck
*Jeder gültige reguläre Ausdruck


'''Beispiel'''
'''Example'''
*Mehrere Beispiele [[Using regular expressions/de|finden Sie hier]]
*[[Using regular expressions|Click here]] to check multiple examples.


</onlyinclude>
</onlyinclude>


[[Category:Question Settings]][[Category:Advanced Question Settings]]
[[Category:Question Settings]][[Category:General Question Options]]

Revision as of 15:30, 31 March 2018


Validation (using regular expressions) (preg_validation)

Beschreibung

This option lets you specify a regular expression with which to validate all parts of a question.

If any question or subquestion value does not meet the validation requirements, the background color 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.

Gültige Werte

  • Jeder gültige reguläre Ausdruck

Example