Show logic file/75/en: Difference between revisions
From LimeSurvey Manual
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 1: | Line 1: | ||
*'''Relevance <nowiki>[</nowiki>Validation] (Default)''' - shows the following: | *'''Relevance <nowiki>[</nowiki>Validation] (Default)''' - shows the following: | ||
**''Relevance'' - the syntax-highlighted [[ | **''Relevance'' - the syntax-highlighted [[ExpressionScript - Presentation|relevance equation]] for the question or group. If it is always true (to be shown in any scenario), the value will be '''1'''. | ||
**''Validation'' - | **''Validation'' - ExpressionScript automatically generates the [[ExpressionScript_-_quick_start_guide#Validation|validation equation]] based upon the selected question attributes (e.g., min/max number of answers, min/max/equals sum values, min/max individual values or regular expression validation). This section shows the generated validation equation so that you can detect if there are any errors (such as undefined variables). | ||
***Question-level validation shows the equation needed to verify the above-described question attributes | ***Question-level validation shows the equation needed to verify the above-described question attributes | ||
***Subquestion-level validation shows the equation needed to implement [[QS:Array_filter|array_filter]], [[QS:Array_filter_exclude|array_filter_exclude]], and [[QS:Exclusive_option|exclusive_option]] | ***Subquestion-level validation shows the equation needed to implement [[QS:Array_filter|array_filter]], [[QS:Array_filter_exclude|array_filter_exclude]], and [[QS:Exclusive_option|exclusive_option]] | ||
**''Default'' - if the question has a default value, it is shown here, syntax-highlighted (since the default could be an expression). | **''Default'' - if the question has a default value, it is shown here, syntax-highlighted (since the default could be an expression). |
Revision as of 16:35, 19 May 2020
- Relevance [Validation] (Default) - shows the following:
- Relevance - the syntax-highlighted relevance equation for the question or group. If it is always true (to be shown in any scenario), the value will be 1.
- Validation - ExpressionScript automatically generates the validation equation based upon the selected question attributes (e.g., min/max number of answers, min/max/equals sum values, min/max individual values or regular expression validation). This section shows the generated validation equation so that you can detect if there are any errors (such as undefined variables).
- Question-level validation shows the equation needed to verify the above-described question attributes
- Subquestion-level validation shows the equation needed to implement array_filter, array_filter_exclude, and exclusive_option
- Default - if the question has a default value, it is shown here, syntax-highlighted (since the default could be an expression).