DynaPDF.GetFieldMapName
-----------------------

Retrieves the mapping name of a specific form field if set.

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

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

**MBS**( **"DynaPDF.GetFieldMapName";** /\* Retrieves the mapping name of a specific form field if set. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$Field**) /\* The field index or field name.e.g. "FirstName" \*/ 

### Parameters

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

### Result

Returns error or text.

### Description

Retrieves the mapping name of a specific form field if set.   
The mapping name is used when interactive form field data is exported from the document.  
See also [GetFieldMapName](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetFieldMapName.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.GetFieldExpValue](DynaPDFGetFieldExpValue.md)
- [DynaPDF.GetFieldFlags](DynaPDFGetFieldFlags.md)
- [DynaPDF.GetFieldName](DynaPDFGetFieldName.md)
- [DynaPDF.GetFieldType](DynaPDFGetFieldType.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetFieldExpValue](DynaPDFSetFieldExpValue.md)
- [DynaPDF.SetFieldMapName](DynaPDFSetFieldMapName.md)
- [DynaPDF.SetFieldName](DynaPDFSetFieldName.md)

This function checks for a license.

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

  
[DynaPDF.GetFieldIndex](DynaPDFGetFieldIndex.md) - [DynaPDF.GetFieldName](DynaPDFGetFieldName.md)

[HTML Version](DynaPDFGetFieldMapName.shtml)