Specifies the content type of
the
newText
property.
For example, if newContentType='text/html', newText will contain
an XHTML fragment.
Syntax
Reference_Syntax.newContentType = "allowRichText | plainTextOnly"
Values
Type
|
Values
|
String
|
-
allowRichText
(default)
-
plainTextOnly
The field
supports rich text.
The
field does not support rich text. Even if markup is present in the
data, it should be passed through rather than interpreted. However,
it is not guaranteed whether downstream processing will respond
to the markup.
|
JavaScript
xfa.event.newContentType = "plainTextOnly";
FormCalc
xfa.event.newContentType = "plainTextOnly"
|
|
|