FCIsSet (open)
Create a form condition checking if a field value is set
Syntax
LOADLIB "mod::publisher/lib/forms/conditions.whlib";
RECORD FUNCTION FCIsSet(OBJECT field, RECORD options)
Parameters
OBJECT field
The field to check; currently only select fields are supported
RECORD options
Options
extrafield
If set, the (select) field's extra field value is matched instead of the field's value
Return value
RECORD
The form condition
Examples
// Only show the shipping address field if the separate shipping address checkbox is checked
myform->^shipping_address->visiblecondition := FCIsSet(myform->^separate_shipping_address);