prevContentType

Specifies the content type of the value specified for the prevText property.

For example, if prevContentType='text/html' , prevText contains an XHTML fragment.

Syntax

Reference_Syntax.prevContentType = "allowRichText | plainTextOnly"

Values

Type

Values

String

  • allowRichText (default)

  • plainTextOnly

The field supports rich text.

  • plainTextOnly

The field does not support rich text.

Applies to

Version

XFA 2.1

Examples

JavaScript

xfa.event.prevContentType = "plainTextOnly";

FormCalc

xfa.event.prevContentType = "plainTextOnly"

// Ethnio survey code removed