allowRichText

Specifies whether the text can include styling (also known as rich text).

Note: The allowRichText property only relays styling information to the application interface. The setting of this property in no way restricts a user from inputting plain text markup that includes styling information. For example, regardless of the setting of this property, a user could type:
        <b>hello</b> 

Syntax

Reference_Syntax.allowRichText = "0 | 1"

Values

Type

Values

String

0 (default)

Text styling is invalid. This is the default when the textEdit object does not contain an exData object.

1 

Text styling is valid. This is the default when the textEdit object does contain an exData object.

Version

XFA 2.1

Model

Object

Form Model

textEdit

Examples

JavaScript

TextField1.resolveNode("ui.#textEdit").allowRichText = "1";

FormCalc

TextField1.ui.#textEdit.allowRichText = "1"

// Ethnio survey code removed