Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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