public function buildOutput($form)
    {
        $this->debug->groupCollapsed(__METHOD__);
        $this->debug->groupUncollapse();
        $str = '';
        foreach ($form->currentFields as $field) {
            $str .= $field->build()."\n";
        }
        $this->debug->groupEnd();
        return $str;
    }