THPDFConstrainedFormAction Record
Constrained action bound to one form event, carrying the action kind and its value
THPDFConstrainedFormAction = record
Kind: THPDFConstrainedFormActionKind;
Value: AnsiString;
end;
The unit is HPDFDoc; pass the record to THPDFFormEditSession.BindEventAction together with the field name and THPDFFormEventKind
Kind selects the action through THPDFConstrainedFormActionKind and Value supplies the value used by cfakSetValue and the non-empty side of cfakToggle