Swat/SwatForm.php
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;
    }
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;
    }
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 ; }
Gets the XHTML form tag used to display this form

@return SwatHtmlTag the XHTML form tag used to display this form.
Gets the XHTML form tag used to display this form