Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

DynaPDF.GetFieldIndex

Returns the page index or tab order of the field.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.GetFieldIndex"; PDF; Field )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Field The field index or field name. "FirstName"

Result

Returns value or error.

Description

Returns the page index or tab order of the field.
The index of newly created fields starts at 1000. This makes it easier to set a field to another position inside the tab order. The field index can be changed with the function DynaPDF.SetFieldIndex. Note that fields must be sorted by index with the function DynaPDF.SortFieldsByIndex. Fields must be sorted for each page separately.

This is for tab order index. For index of field in the list of fields, please use DynaPDF.FindField.

See also GetFieldIndex function in DynaPDF manual.

See also

This function checks for a license.

Created 18th August 2014, last changed 9th October 2018


DynaPDF.GetFieldHighlightMode - DynaPDF.GetFieldMapName

💬 Ask a question or report a problem