GetFormFieldRequired

Form fields

Description

Returns the state of a field's is Required flag.

If this flag is set the field must have a value when the form is exported by a submit-form action.

Syntax

Delphi

function TPDFlib.GetFormFieldRequired(Index: Integer): Integer;

ActiveX

Function PDFlib::GetFormFieldRequired(Index As Long) As Long

DLL

int DLGetFormFieldRequired(int InstanceID, int Index);

Parameters

IndexThe index of the form field

Return values

0The field's Required flag is not set The field's Required flag is set
1