Configuring display types for long string fields
For object fields that have a long string data type, you can configure how long string data displays to users on an object’s details page.
Be aware of the space used for non-printing characters (such as tabs and line breaks), and formatting and multi-byte characters (Rich Text display types). These may cause the data to exceed the size of the long string field, resulting in a message such as:
OP-03381: The specified value for "MyMediumLong" is too long. The 32966 characters entered (32966 bytes) exceeds the maximum size of 32768 bytes. Reduce the number of characters and re-enter the text. Note that character count includes non-printing characters, such as spaces, tabs, and line breaks.
The display types for medium long string data are: On Demand, On Demand Rich Text, Text Area, and Rich Text.
The display types for large long string data are: On Demand, and On Demand Rich Text.
Both medium and large long string fields default to the On Demand display type.
For more information on long text fields, see Data types.