core/Form.php
public function fetchHideBox($tabIndex = null)
    {
        $fields = $this->getFields($tabIndex);
        foreach ($fields as $field) {
            if ($field->hideBox) {
                $field->viewClose = true;
                $this->addHideBox($field->boxName, $field->value);
                continue;
            }
        }
        $box = [];
        foreach ($this->hideBox as $name => $val) {
            $box[] = '<input type="hidden" name="' . htmlspecialchars($name, ENT_QUOTES) . '" value="' . htmlspecialchars($val, ENT_QUOTES) . '">';
        }
        return join('', $box);
    }
public function fetchHideBox($tabIndex = null)
    {
        $fields = $this->getFields($tabIndex);
        foreach ($fields as $field) {
            if ($field->hideBox) {
                $field->viewClose = true;
                $this->addHideBox($field->boxName, $field->value);
                continue;
            }
        }
        $box = [];
        foreach ($this->hideBox as $name => $val) {
            $box[] = '<input type="hidden" name="' . htmlspecialchars($name, ENT_QUOTES) . '" value="' . htmlspecialchars($val, ENT_QUOTES) . '">';
        }
        return join('', $box);
    }
输出隐藏输入框
@param null $tabIndex
@return string