public function addFieldset($name, $legend, $fieldsetId = '', $fieldsetClass = '', $fieldsetAttributes = '',
                                $legendId = '', $legendClass = '', $legendAttributes = '')
    {
        $this->fieldsetData[$this->nrFieldset]['name'] = $name;
        $this->fieldsetData[$this->nrFieldset]['legend'] = $legend;
        $this->fieldsetData[$this->nrFieldset]['fieldsetId'] = $fieldsetId;
        $this->fieldsetData[$this->nrFieldset]['fieldsetClass'] = $fieldsetClass;
        $this->fieldsetData[$this->nrFieldset]['fieldsetAttributes'] = $fieldsetAttributes;
        $this->fieldsetData[$this->nrFieldset]['legendId'] = $legendId;
        $this->fieldsetData[$this->nrFieldset]['legendClass'] = $legendClass;
        $this->fieldsetData[$this->nrFieldset]['legendAttributes'] = $legendAttributes;
        $this->nrFieldset++;
    }