GetFormFieldSubmitActionString

Form fields

Description

Returns the string associated with a FormField submit action and its specified ActionType. Supported ActionTypes

'U' : Returns the URL link string

Syntax

Delphi

Function TPDFlib.GetFormFieldSubmitActionString(Index: Integer; Const ActionType: WideString): WideString;

ActiveX

Function PDFlib::GetFormFieldSubmitActionString(Index As Long, ActionType As String) As String

DLL

const wchar_t* DLGetFormFieldSubmitActionString(int InstanceID, int Index, const wchar_t* ActionType);
const char* DLGetFormFieldSubmitActionStringA(int InstanceID, int Index, const char* ActionType);

Parameters

IndexThe index of the form field to examine
ActionTypeThe action type: U = An action to be performed when the mouse button is released inside the annotation's active area

Return values

Returns the string associated with the specified form field submit action. Returns an empty string when the field does not exist.