XFA Specification
Chapter 23, FormCalc Specification
Logical Built-in Functions
868
HasValue()
Determines if the given parameter is an accessor with a non-null, non-empty, non-blank value.
Syntax
HasValue(v1)
Parameters
v1
is the accessor.
Returns
True (1) if the given parameter is an accessor with a non-null, non-empty, non-blank value. A non-blank
value will contain characters other than white spaces.
If the given parameter is not an accessor, the function returns true (1), if its a non-null, non-empty,
non-blank value.
Examples
HasValue(Item)
returns true (1), if the object
Item
exists, and has a non-null, non-empty, non-blank value. Otherwise, it
returns false (0).
HasValue(" ")
returns false (0).
HasValue(0)
returns true (1).
Home Index Bookmark Pages
Pages: Home Index All Pages