Hidden
Output hidden inputs
Description
{{ hidden }}
Prints an <input type="hidden"> for every value set with setHidden() in the controller.
Put it inside the <form>. It is typically used to carry an ID or a one-time ticket from the input screen to the confirmation and save steps.
Example
Controller
$this->setHidden('internal_id', 12);
Template
<form method="post" action="{{ base }}/contact/confirm/">
{{ hidden }}
<button type="submit">Send</button>
</form>
Output
<form method="post" action="/contact/confirm/">
<input type="hidden" name="internal_id" value="12">
<button type="submit">Send</button>
</form>