(Slot migration) |
|||
ws-class-props | |||
---|---|---|---|
Line 5: | Line 5: | ||
|Doc sort order=110 | |Doc sort order=110 | ||
|Doc target group=User | |Doc target group=User | ||
+ | |Doc synopsis=How to use the password field for input | ||
}} | }} |
Latest revision as of 13:57, 22 September 2022
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