` tag. * * ``` * * ``` * * @see https://docs.typo3.org/permalink/t3viewhelper:typo3-fluid-form-hidden */ final class HiddenViewHelper extends AbstractFormFieldViewHelper { /** * @var string */ protected $tagName = 'input'; public function initializeArguments(): void { parent::initializeArguments(); $this->registerArgument( 'respectSubmittedDataValue', 'bool', 'enable or disable the usage of the submitted values', false, true ); } public function render(): string { $name = $this->getName(); $this->registerFieldNameForFormTokenGeneration($name); $this->setRespectSubmittedDataValue($this->arguments['respectSubmittedDataValue']); $this->tag->addAttribute('type', 'hidden'); $this->tag->addAttribute('name', $name); $this->tag->addAttribute('value', (string)$this->getValueAttribute()); $this->addAdditionalIdentityPropertiesIfNeeded(); return $this->tag->render(); } }