AddActionNextSubmitFormFields

Destinations and actions, Form fields

Description

Appends a SubmitForm action with an optional field-name list to an existing action Next chain

Syntax

Delphi

Function TPDFlib.AddActionNextSubmitFormFields(ActionID: Integer; Const Link, FieldNames: WideString; Flags: Integer): Integer;

Parameters

ActionIDExisting action handle
LinkSubmit target URL
FieldNamesComma, semicolon, or line separated field names for the PDF /Fields array
FlagsSubmitForm action flags

Return values

Returns 1 on success, or 0 if the action, URL, or PDF/A mode is invalid

Remarks

The helper lets callers build action sequences without editing the PDF action dictionary manually

See also

AddActionNextResetFormFields, SetFormFieldSubmitActionFields, AddLinkToSubmitForm