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 LongDLL
int DLGetFormFieldRequired(int InstanceID, int Index);Parameters
| Index | The index of the form field |
|---|
Return values
| 0 | The field's Required flag is not set The field's Required flag is set |
|---|---|
| 1 |