SetFormFieldResetActionFields

Form fields

Description

Assigns a ResetForm action to a form field and writes an optional field-name list

Syntax

Delphi

Function TPDFlib.SetFormFieldResetActionFields(Index: Integer; Const ActionType, FieldNames: WideString; Flags: Integer): Integer;

Parameters

IndexForm field index
ActionTypeTrigger key such as U, D, E, X, Fo, Bl, K, F, V, C, or empty for primary action
FieldNamesComma, semicolon, or line separated list of field names for the PDF /Fields array
FlagsResetForm action flags

Return values

Returns 1 on success, or 0 if the field, trigger, or PDF/A mode is invalid

Remarks

Use this wrapper when the Delphi class API is preferred over assembling the lower-level PDF objects manually

See also

SetFormFieldResetAction, AddLinkToResetForm