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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

DynaPDF.SetFieldIndex

Sets the tab order of interactive form fields.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetFieldIndex"; 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 OK or error.

Description

Sets the tab order of interactive form fields.
All fields, independently whether they are created with DynaPDF or imported from external documents, holds in internal index which can be used to reorder or sort the fields with this index.
The start index of a new field is not zero, it is 1000 instead. This makes it easier to set a field in front of all other fields without changing all field indices. However, changing a field index changes not the tab order directly, the fields of a page must be sorted before the page will be closed with the function DynaPDF.SortFieldByIndex.
The tab order of interactive form fields must be set for each page separately.

See also SetFieldIndex function in DynaPDF manual.

See also

Created 18th August 2014, last changed 18th August 2014


DynaPDF.SetFieldHighlightMode - DynaPDF.SetFieldMapName

Feedback: Report problem or ask question.