Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.SetFieldIndex

Sets the tab order of interactive form fields.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 4.0 Yes Yes Yes Yes Yes

MBS( "DynaPDF.SetFieldIndex"; PDF; Field )

Parameters

Parameter Description Example value
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


DynaPDF.SetFieldHighlightMode   -   DynaPDF.SetFieldMapName

Feedback: Report problem or ask question.




Links
MBS FileMaker blog