Different Colors in Text Field?

Hello

is it actually possible to have the text in a text field appear with different colors or would I need to use RTFs?

And how could I programmatically make text appear in different color?

Subject: Different Colors in Text Field?

If this is for the web, you can pass through html and make the colors change inside a text field, but otherwise you would need rich text. Take a look at the NotesRichTextStyle class.

Subject: Different Colors in Text Field?

It isn’t possible in one fieldMaybe u could use two or more fields…

Subject: Different Colors in Text Field?

Stephan, not sure if this helps you with your issue or not, but depending on the circumstances, you could hide the editable field when appropriate, then use computed for display fields that are set to different colors, and in the formula when one shouldn’t show, just have the value for that field evaluate to “”, and the field will display, but with no value, so you won’t actually see anything.

With that, the fields that should show something will show the value in the required color.