(Admin) |
m (Text replacement - "{{Doc properties" to "{{Csp class properties") |
||
| (11 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
===Name=== | |||
password | |||
===Type=== | |||
_input | |||
===Synopsis=== | |||
How to use the password field for input | |||
===Description=== | |||
When using the password field, people cannot see what they are typing. | |||
===Parameters=== | |||
_input type="password" | |||
===Example=== | |||
<syntaxhighlight lang="html"> | |||
<_input type="password" name="pass" placeholder="Type your password" required="required" /> | |||
</syntaxhighlight> | |||
<_input type="password" name="pass" placeholder="Type your password" required="required" /> | |||
===Note=== | |||
All attributes for a password input field are supported (like in this case : name, placeholder and required). Obviously never use form action="GET" when using a password field, always use POST. | |||
===Links=== | |||
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/password | |||
| ws-base-props | |||
|---|---|---|---|
| Line 1: | Line 1: | ||
{{Base properties | {{Base properties | ||
|Title= | |Title=input/password | ||
|Class=Doc | |Class=Doc | ||
}} | }} | ||
| ws-class-props | |||
| Line 1: | Line 1: | ||
{{Csp class properties | |||
|Doc subject=DevOps:Doc/FlexForm | |||
|Subject version=1.0,1.1 | |||
|Doc parent=DevOps:Doc/FlexForm/1.0/input | |||
|Doc sort order=110 | |||
|Doc target group=User | |||
|Doc synopsis=How to use the password field for input | |||
}} | |||
Latest revision as of 10:00, 15 July 2025
Name
password
Type
_input
Synopsis
How to use the password field for input
Description
When using the password field, people cannot see what they are typing.
Parameters
_input type="password"
Example
<_input type="password" name="pass" placeholder="Type your password" required="required" />
Note
All attributes for a password input field are supported (like in this case : name, placeholder and required). Obviously never use form action="GET" when using a password field, always use POST.
Links
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/password