DynaPDF.FindField
-----------------

This function searches for an interactive form field by using the fully qualified field name.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [4.0](newinversion40.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.FindField"; PDF; Name ) 

**MBS**( **"DynaPDF.FindField";** /\* This function searches for an interactive form field by using the fully qualified field name. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$Name**) /\* The fully qualified field name.e.g. "FirstName" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |
| Name | The fully qualified field name. | "FirstName" |

### Result

Returns field handle or error.

### Description

This function searches for an interactive form field by using the fully qualified field name.   
The fully qualified field name is constructed from the partial field name of the field and all of its ancestors. For a field with no parent group field, the partial and fully qualified names are the same. For a field that is the child of another field, the fully qualified name is formed by appending the child field's partial name to the parent's fully qualified name, separated by a period, e.g. "Company.Employee.Name".  
Field names are case-sensitive; the name must be specified exactly.  
See also [FindField](https://www.monkeybreadsoftware.com/DynaPDF-Manual/FindField.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.FindText](DynaPDFFindText.md)
- [DynaPDF.GetField](DynaPDFGetField.md)
- [DynaPDF.GetFieldIndex](DynaPDFGetFieldIndex.md)
- [DynaPDF.New](DynaPDFNew.md)

### Release notes

- **Version 13.4**
    - Improved [DynaPDF.FindField](https://www.mbsplugins.eu/DynaPDFFindField.shtml) to better find a field in a group.

### Blog Entries

- [MBS FileMaker Plugin, version 13.4pr6](https://www.mbsplugins.de/archive/2023-09-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

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

  
[DynaPDF.FindEmbeddedFile](DynaPDFFindEmbeddedFile.md) - [DynaPDF.FindLinkAnnot](DynaPDFFindLinkAnnot.md)

[HTML Version](DynaPDFFindField.shtml)