The Why function provides an explanatory text for the validation state of a variable. The text is generated automatically from the explanatory texts stored in the rules.
Syntax | ||||
Why(Variable, Value) | ||||
Return value | ||||
Type |
Description | |||
String |
Output of the rules check | |||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Required |
Variable |
Variant |
ByVal |
Indication of a variable, to determine the validation state of the variable. |
Required |
Value |
Variant |
ByVal |
Indication of a value, to determine the validation state of the value of the variable. |