protected function getFormTag()
    {
        $form_tag = new SwatHtmlTag('form');

        $form_tag->addAttributes(array(
            'id' => $this->id,
            'method' => $this->method,
            'enctype' => $this->encoding_type,
            'accept-charset' => $this->accept_charset,
            'action' => $this->action,
            'class' => $this->getCSSClassString()
        ));

        // we're going to validate data on the server, so turn off HTML5
        // form validation
        $form_tag->novalidate = 'novalidate';

        return $form_tag;
    }