Used for input of confidential or sensitive information such as passwords.
Attribute | Description | Type | Default | Options | Use |
---|---|---|---|---|---|
inputmode | A hint to the browser about the preferred input mode for the control. The 'do-not-store' token indicates that the value the user enters into the form control should not be stored by the browser. The mcs:security.input#DisableDataStoring feature allows page authors to query whether or not the browser can disable the autocomplete functionality. |
xs:string | do-not-store | optional |
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/2002/06/xhtml2"
xmlns:si="http://www.volantis.com/xmlns/2006/01/xdime2/si"
xmlns:xforms="http://www.w3.org/2002/xforms">
<head>
<title>xforms:secret</title>
<xforms:model id="login">
<xforms:instance>
<si:instance>
<si:item name="password"/>
</si:instance>
</xforms:instance>
</xforms:model>
</head>
<body>
<xforms:secret model="login" ref="password" inputmode="do-not-store">
<xforms:label>Password:</xforms:label>
</xforms:secret>
</body>
</html>