Supported display modes by field type
The following table lists the display modes that are supported by each field type. You select a display mode when you add a single-value field to a form. By default, all fields have a display mode set to Optional.
Field type | Optional | Required | Read-only | Calculated (read-only) |
Text (single line) | Yes | Yes | Yes | Yes |
Text (paragraph) | Yes | Yes | Yes | Yes |
Boolean | Yes | No | Yes | Yes |
Currency | Yes | Yes | Yes | Yes |
Date & time | Yes | Yes | Yes | Yes |
Date only | Yes | Yes | Yes | Yes |
Decimal | Yes | Yes | Yes | Yes |
Yes | Yes | Yes | No | |
Integer | Yes | Yes | Yes | Yes |
Phone | Yes | Yes | Yes | No |
Picklist | Yes | Yes | Yes | No |
Time only | Yes | Yes | Yes | Yes |
URL | Yes | Yes | Yes | Yes |
Attachment | Yes | Yes | Yes | No |
Location | Yes | Yes | Yes | No |
User reference | Yes | Yes | Yes | No |
Data reference | Yes | Yes | Yes | No |
Previous topic Reusing UI Gallery examples in an application Next topic Using business logic to drive user experience