on 10-29-2010 1:40 PM
Hi to All,
I have a text field (RTF) "Textfield" and the value will be loaded dinamically using JavaScript:
this.Textfield.rawValue = "The word is bold":
Works fine, the result is:
The word is bold
Now if I use:
this.Textfield.rawValue = "The <b>word</b> is bold":
the result should be:
The word is bold
but the result is:
The bword/b is bold (please replace ^ with < and >).
Do you have suggest regard this issue?
Thanks & Regards,
Umberto
Just do a Search in this forum and you will surely find your solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Examples
JavaScript
TextField1.resolveNode("ui.#textEdit").allowRichText = "1";
FormCalc
TextField1.ui.#textEdit.allowRichText = "1"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.