writeonlyAdded by IBM on August 8, 2013 | Version 1 (Original)
|Sets a field to be write only. This means that the user can type into the field, but cannot read what is typed. Instead, each character is replaced by a uniform symbol (such as an asterisk).
This is useful if you are creating a password field.
Table 1. writeonly parameter
|setting||on||the item is write only, which means that each character is replaced with a uniform symbol (such as an asterisk) to obscure the input.|
|off||the item displays input normally.|
Example The following example shows a field that is set to be write only:
<value>You cannot type into this field.</value>
The xforms:secret option overrides the writeonly option, and forces the field to be write only.
- XFDL: off
- XForms: the xforms:secret option, if present.