Specifies the content type of the newText property.
For example, if newContentType='text/html', newText will contain an XHTML fragment.
Reference_Syntax.newContentType = "allowRichText | plainTextOnly"
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.
Model
Object
Event Model
eventPseudoModel
XFA 2.1
xfa.event.newContentType = "plainTextOnly";
xfa.event.newContentType = "plainTextOnly"
Legal Notices | Online Privacy Policy
Content from Scripting Reference (10).
Other versions: