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 fieldThe field to check; currently only select fields are supported
RECORD optionsOptions
extrafieldIf set, the (select) field's extra field value is matched instead of the field's value
Return value
RECORDThe 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);