Line 15: | Line 15: | ||
<_input type="secure" name="token" value="123231321" /> | <_input type="secure" name="token" value="123231321" /> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | < | + | This will render something similar to |
+ | <syntaxhighlight lang="html"> | ||
+ | <input name="2425fb14579653aef53179a2849e4593ES5rgMk=" value="7cade404c7d02c02a3087e4fd6954caby0QljHbAPys0" type="hidden"> | ||
+ | </syntaxhighlight> | ||
===Note=== | ===Note=== | ||
===Links=== | ===Links=== |
Revision as of 14:46, 25 February 2022
Name
secure
Type
_input
Synopsis
How to render a hidden input field that is secure
Description
_input elements of type secure are similar to type hidden. The difference is that a secure field is not readable by a user and a form will fail if it gets altered using Browsers developer tools
Parameters
type="secure"
All other valid parameters for an input field are valid
Example
<_input type="secure" name="token" value="123231321" />
This will render something similar to
<input name="2425fb14579653aef53179a2849e4593ES5rgMk=" value="7cade404c7d02c02a3087e4fd6954caby0QljHbAPys0" type="hidden">