role

Specifies the role played by the parent container.

Syntax

Reference_Syntax.role = "string"

Values

Type

Values

String

A valid string specifying the role of the parent container. It may be used by speech-enabled XFA processing applications to provide information. For example, it may be assigned values borrowed from HTML, such as TH (table headings) and TR (table rows).

Applies to

Model

Object

Form Model

assist

Version

XFA 2.2

Examples

JavaScript

TextField1.assist.role = "TH";

FormCalc

TextField1.assist.role = "TH"

// Ethnio survey code removed