Other Function

Relevance:
Variable occurrences within this function do not contribute towards the overall relevance of those variables.
Consequently, such variables must occur in at least one other context for them to be considered relevant.
Description:
Test if at least one chosen option is not a prescribed selection option.
This function is used with a Text Selection-type variable where you are using the "Show Other" attribute.
For a select variable where only a single option can be chosen:
Returns true if the variable's value is known and it is not a prescribed option, and returns false otherwise.
For a select variable where multiple options can be chosen:
Returns true if the variable's value is known and at least one of the options chosen is not a prescribed option, and returns false otherwise.
Returns:
Boolean
Parameter:
Parameter
Data Type
Description
1
Any
The name of the select variable.
Examples:
Expression
Result
Other( Var )
where Var="z" and the prescribed selections are "a", "b", "c"
true
Other( Var )
where Var=List("b","z") and the prescribed selections are "a", "b", "c"
true
Other( Var )
where Var=List("a","c") and the prescribed selections are "a", "b", "c"
false
This function is most often used as a business rule on a span:
[
Other(PaymentOption)
Payment shall be by {PaymentOption} comprising of {PaymentOptionOtherDetails}.]