SetFormFieldImportDataAction

Form fields

Description

Assigns an ImportData action to a form field trigger

Syntax

Delphi

Function TPDFlib.SetFormFieldImportDataAction(Index: Integer; Const ActionType, FileName: WideString): Integer;

Parameters

IndexForm field index
ActionTypeTrigger key such as U, D, E, X, Fo, Bl, K, F, V, C, or empty for primary action
FileNameFDF file name stored in the action file specification

Return values

Returns 1 on success, or 0 if the field, trigger or file name is invalid, PDF/A mode is active or PDF/X-6 mode is active

Remarks

The helper writes a field additional action that imports FDF form data when the trigger fires

See also

GetFormFieldActionInfo, SetFormFieldAction, AddLinkToImportData