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 fieldThe field to match
STRING matchtypeMatch operation; currently only "IN" is supported
VARIANT valueThe value to check, should be an array for matchtype "IN"
RECORD optionsOptions
extrafieldIf set, the (select) field's extra field value is matched instead of the field's value
matchcaseMatch case (defaults to TRUE)
Return value
RECORDThe form condition