Actions

QS

Preg validation/de: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
No edit summary
Line 1: Line 1:
<languages />
<languages />


<onlyinclude>
<div class="mw-translate-fuzzy">
===Validation (using regular expressions) (preg_validation)===
===Validierung (preg_validation)===
</div>


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


This option lets you specify [[Using_regular_expressions|a regular expression]] with which you can validate all the parts of a question.
<div class="mw-translate-fuzzy">
Mit dieser Option können Sie einen regulären Ausdruck angeben, mit der alle Antworten einer Frage überprüft werden.
</div>


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.
Line 13: Line 16:
*Jeder gültige reguläre Ausdruck
*Jeder gültige reguläre Ausdruck


'''Example'''
<div class="mw-translate-fuzzy">
*[[Using regular expressions|Click here]] to check multiple examples.
'''Beispiel'''
*Mehrere Beispiele [[Using regular expressions/de|finden Sie hier]]
</div>


</onlyinclude>
</onlyinclude>


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

Revision as of 08:15, 14 August 2023

Validierung (preg_validation)

Beschreibung

Mit dieser Option können Sie einen regulären Ausdruck angeben, mit der alle Antworten einer Frage überprüft werden.

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.

Gültige Werte

  • Jeder gültige reguläre Ausdruck

Beispiel