XFA Specification
Chapter 23, FormCalc Specification
Logical Built-in Functions
869
Oneof()
This logical function returns true if a value is in a given set.
Syntax
Oneof(s1, s2 [, s3...])
Parameters
s1
is the value to match.
s2
is the first value in the set.
s3, ...
are optional additional values in the set.
Returns
True (1) if the first parameter is in the set, false (0) if it is not in the set.
Examples
Oneof($, 4, 13, 24)
returns true (1) if the current object has a value of 4, 13 or 24; otherwise it returns false (0).
Oneof(Item, null, "A", "B", "C")
returns true (1) if the value in the object Item is null, "A", "B" or "C"; otherwise it returns false (0).
Home Index Bookmark Pages
Pages: Home Index All Pages