FCMatch (open)
Create a form condition checking if the value of a select field is one of a given list of values
Syntax
LOADLIB "mod::publisher/lib/forms/conditions.whlib";
RECORD FUNCTION FCMatch(OBJECT field, STRING matchtype, VARIANT value, RECORD options)
Parameters
OBJECT field
The field to match
STRING matchtype
Match operation; currently only "IN" is supported
VARIANT value
The value to check, should be an array for matchtype "IN"
RECORD options
Options
extrafield
If set, the (select) field's extra field value is matched instead of the field's value
matchcase
Match case (defaults to TRUE)
Return value
RECORD
The form condition