Skip to main content

Hidden

Generates a hidden text input which can be used to store non user-editable data.

All presentational markup and classes will be removed from this input to prevent it from affecting the form layout. There is no need to supply a label.

Basic usage

{{
form.hidden({
'id': 'hidden-1',
'name': 'hidden-1',
'value': 'horcrux'
})
}}

Helper options

You can configure this helper using the common helper options.