Actions

QS

Preg validation/nl: Difference between revisions

From LimeSurvey Manual

No edit summary
(Updating to match new version of source page)
Line 1: Line 1:
<languages />
<languages />
<onlyinclude>
<onlyinclude>
 
===Validation (using regular expressions) (preg_validation)===
===Validatie (met reguliere expressies) (preg_validation)===


'''Beschrijving'''
'''Beschrijving'''


Met deze optie kun je een reguliere expressie specificeren waarmee je alle delen van een vraag kunt controleren.
This option lets you specify [[Using_regular_expressions|a regular expression]] with which to validate all parts of a question.


Als volgens de validatie een vraag of subvraag niet goed is, dan wordt de achtergrond van het tekst invoerveld veranderd in rood {{NewIn/nl|1.92}}, je ziet als ontwerper dan gemakkelijk de fouten.
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.


'''Geldige waarden'''
'''Geldige waarden'''
*elke geldige reguliere expressie
*elke geldige reguliere expressie


'''Voorbeeld'''
'''Example'''
* [[Using regular expressions/nl|Hier]] staan meerdere voorbeelden
*[[Using regular expressions|Click here]] to check multiple examples.


</onlyinclude>
</onlyinclude>


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

Revision as of 15:25, 31 March 2018


Validation (using regular expressions) (preg_validation)

Beschrijving

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.

Geldige waarden

  • elke geldige reguliere expressie

Example