m (E00a555c-1e5d-4eb3-b26b-5be8dc16c657 moved page DevOps:Doc/FlexForm/1.0.0/input/hidden to input/hidden without leaving a redirect: Text replacement - "1.0.0" to "1.0")
ws-page-props
Line 1: Line 1:
 
{{Doc properties
 
{{Doc properties
 
|Doc subject=DevOps:Doc/FlexForm
 
|Doc subject=DevOps:Doc/FlexForm
|Doc parent=DevOps:Doc/FlexForm/1.0.0/input
+
|Subject version=1.0.0
 +
|Doc parent=DevOps:Doc/FlexForm/1.0/input
 
|Doc sort order=110
 
|Doc sort order=110
 
|Doc target group=User
 
|Doc target group=User
|Subject version=1.0.0
 
 
}}
 
}}

Revision as of 16:26, 7 April 2022

Name

hidden

Type

_input

Synopsis

How to render a hidden input field

Description

_input elements of type hidden let web developers include data that cannot be seen or modified by users when a form is submitted. For example, the ID of the content that is currently being ordered or edited, or a unique security token. Hidden inputs are completely invisible in the rendered page, and there is no way to make it visible in the page's content.

Parameters

type="hidden"

All other valid parameters for an input field are valid

Example

<_input type="hidden" name="token" value="123231321" />

Note

While the value isn't displayed to the user in the page's content, it is visible—and can be edited—using any browser's developer tools or "View Source" functionality. If you want to create a secure field, then use _input type="secure".

Links

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/hidden

ws-page-props