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.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

DynaPDF.DeleteField

This function deletes an interactive form field.

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

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

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Field A field handle. $field

Result

Returns OK or error.

Description

This function deletes an interactive form field.
The parameter Field must be a valid field handle.
If the field is a radio button or group field, the child fields used are also deleted. There is no need to delete each field separately.
A field is never physically deleted. All field handles are still valid after a field was deleted, but the "Used" flag of the field is set to false (see DynaPDF.GetField for further information). If a field contained an action that was not used by another object then the action is also deleted.
Fields can also be deleted by using its name instead of the handle. See DynaPDF.DeleteFieldEx for further information.

See also DeleteField function in DynaPDF manual.

See also


DynaPDF.DeleteEmbeddedFile   -   DynaPDF.DeleteFieldEx

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins