In a custom form, can I change the ‘required’ setting of field A when (after rendering) changing the value of field B?
Put something like this in the
MACRO NEW() of the form object:
^my_maybe_required_field->requiredcondition := FCMatch(^field_to_check, "IN", [ 1, 2 ]);
mod::publisher/lib/forms/conditions.whlib for functions for more complex scenarios.