DynaPDF.GetInIsXFAForm
----------------------

Queries whether the current open import file contains an XFA form.

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

MBS( "DynaPDF.GetInIsXFAForm"; PDF ) 

**MBS**( **"DynaPDF.GetInIsXFAForm";** /\* Queries whether the current open import file contains an XFA form. \*/  
**$PDF**) /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |

### Result

Returns 0, 1 or error.

### Description

Queries whether the current open import file contains an XFA form.   
DynaPDF does not allow editing of XFA forms. If the form is a hybrid form the XFA part can be deleted and the remaining PDF form fields can be edited as usual.  
The PDF file must be opened with [DynaPDF.OpenPDFFromContainer](DynaPDFOpenPDFFromContainer.md) or [DynaPDF.OpenPDFFromFile](DynaPDFOpenPDFFromFile.md) before this function can be called.  
[DynaPDF.GetXFAStream](DynaPDFGetXFAStream.md) can be used to read the form definition and values.  
See also [GetInIsXFAForm](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetInIsXFAForm.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.DeleteXFAForm](DynaPDFDeleteXFAForm.md)
- [DynaPDF.GetXFAStream](DynaPDFGetXFAStream.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.OpenPDFFromContainer](DynaPDFOpenPDFFromContainer.md)
- [DynaPDF.OpenPDFFromFile](DynaPDFOpenPDFFromFile.md)

### Example Databases

- [DynaPDF/Show PDF Fields](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Show%20PDF%20Fields.shtml#2ScriptAnchor_)

This function checks for a license.

Created 18th August 2014 , last changed 21st April 2018

  
[DynaPDF.GetInIsTrapped](DynaPDFGetInIsTrapped.md) - [DynaPDF.GetInMetadata](DynaPDFGetInMetadata.md)

[HTML Version](DynaPDFGetInIsXFAForm.shtml)