public function hiddenFields($hiddenFields = null) {
		if (empty($hiddenFields)) {
			return null;
		}

		if (!is_array($hiddenFields)) {
			$hiddenFields = [$hiddenFields];
		}

		$result = '';
		$options = ['type' => 'hidden'];
		foreach ($hiddenFields as $hiddenField) {
			$result .= $this->input($hiddenField, $options);
			if ($this->isFieldError($hiddenField)) {
				$result .= $this->Html->div(
					'form-group has-error',
					$this->error($hiddenField, null, ['class' => 'help-block'])
				);
			}
		}

		return $result;
	}