Choose two actions by which you can set a text item as read-only.
A.
Navigate to Page Definition > Edit that item > Navigate to Read Only section > Select
“Always” from the Read Only Condition Type
B.
Set the item as Text Field (Disabled, does not save state)
C.
Set the item as Password
D.
Set the item as Text Field (Disabled, saves state)
E.
Set the item as Text Field (always submits page when Enter pressed)