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 6: Line 6:
'''Beschreibung'''
'''Beschreibung'''


This option lets you specify [[Using_regular_expressions|a regular expression]] with which to validate all parts of a question.
This option lets you specify [[Using_regular_expressions|a regular expression]] with which you can validate all the 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.
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'''
'''Gültige Werte'''

Revision as of 17:15, 23 August 2018


Validation (using regular expressions) (preg_validation)

Beschreibung

This option lets you specify a regular expression with which you can validate all the parts of a 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.

Gültige Werte

  • Jeder gültige reguläre Ausdruck

Example