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

Links

ws-page-props