(Admin) |
|||
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | ===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=== | ||
+ | <syntaxhighlight lang="html"> | ||
+ | <_input type="secure" name="token" value="123231321" /> | ||
+ | </syntaxhighlight> | ||
+ | This will render something similar to | ||
+ | <syntaxhighlight lang="html"> | ||
+ | <input name="2425fb14579653aef53179a2849e4593ES5rgMk=" value="7cade404c7d02c02a3087e4fd6954caby0QljHbAPys0" type="hidden"> | ||
+ | </syntaxhighlight> | ||
+ | ===Note=== | ||
+ | When using action="get" a secure field will not be returned in the url | ||
+ | ===Links=== | ||
ws-class-props | |||
---|---|---|---|
Line 1: | Line 1: | ||
− | + | {{Doc 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 render a hidden input field that is secure | ||
+ | }} | ||
ws-page-props | |||
Line 1: | Line 1: | ||
− | + | ||
− | |||
− | |||
− |
Latest revision as of 15:00, 22 September 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">
Note
When using action="get" a secure field will not be returned in the url