
displayOnly
Specifies whether the user can edit the UI element or only display it.
This property has almost the same function as readOnly. The differences are that the background of UI elements is white instead of gray, and any required asterisk is no longer displayed on the label after activation.
The following figure shows this difference, using the RadioButton UI element as an example:
This property can be personalized by administrators. In personalization, this property can be assigned the value: true
If you use displayOnly with the following UI elements, not all properties are supported.
The supported properties are listed below:
displayOnly for the UI element InputField:
If you use displayOnly for the UI element InputField, only the following properties are supported:
displayOnly for the UI element DropDownByIndex or DropDownByIndex:
If you use displayOnly for UI elements DropDownByIndex and DropDownByIndex, only the following properties are supported:
If both displayOnly = true and readOnly = true are used, the UI element is displayed in displayOnly- style.
A TextView is rendered for UI elements InputField, DropDownByKey, DropDownByIndex, and DropDownListBox if displayOnly = true.
Property displayOnly does not function in ToolBar elements.
If displayOnly = true is set for UI elements DropDownByIndex, DropDownByKey, DropDownListBox, and InputField, multiple neighboring blank characters may be compressed to one single blank character when you run the application in Internet Explorer. The problem occurs in quirks mode with all IE versions and in standard mode with IE8 and smaller.