Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

DynaPDF.CheckFieldNames

Checks all currently defined interactive form fields for invalid duplicate field names.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 8.5 Yes Yes Yes Yes Yes
MBS( "DynaPDF.CheckFieldNames"; PDF )   More

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf

Result

Returns number or error.

Description

Checks all currently defined interactive form fields for invalid duplicate field names.
Use this function if multiple interactive forms were imported. DynaPDF does not check or change duplicate field names during import. Therefore, check the field names and change invalid names if necessary before closing the document. If an interactive form contains duplicate field names of fields with different types, the document will be damaged.
If a form contains invalid duplicate field names, the names must be changed with DynaPDF.SetFieldName. However, if such a field is used in a JavaScript action or by a global JavaScript, the JavaScript(s) must also be changed to avoid error messages in Adobe's Acrobat.
Global JavaScripts can be accessed with the function DynaPDF.GetJavaScript and changed with the function DynaPDF.ChangeJavaScript. A JavaScript action can be accessed with the function DynaPDF.GetJavaScriptAction and changed with the function DynaPDF.ChangeJavaScriptAction.
The function returns the handle of the first invalid field name that was found, that is a value greater or equal zero. If no invalid field name was found the return value is -1.

See also CheckFieldNames function in DynaPDF manual.

See also

Created 22nd October 2018, last changed 22nd October 2018


DynaPDF.CheckConformance   -   DynaPDF.CircleAnnot

Feedback: Report problem or ask question.




Links
MBS Xojo blog