appType

Specifies the name of the client application in which a form currently exists.

The appType property calls the viewerType property from the Acrobat JavaScript object model and returns the corresponding value for the client application in which the form exists. For example, in the context of a PDF form viewed in Adobe Reader, this property returns Reader.

For more information on the viewerType property, and the values it returns, see the JavaScript for Acrobat API Reference.

Syntax

Reference_Syntax.appType

Values

Type

Values

String

A valid string representing the name of the current hosting client application.

Version

XFA 2.1

Examples

JavaScript

xfa.host.appType;

FormCalc

xfa.host.appType

// Ethnio survey code removed