public function getAttributes()
    {
        $attrs = parent::getAttributes();

        $attrs['class'] = $attrs['class'] . ' userform';
        $attrs['data-livevalidation'] = (bool)$this->controller->EnableLiveValidation;
        $attrs['data-toperrors'] = (bool)$this->controller->DisplayErrorMessagesAtTop;

        return $attrs;
    }
public function getAttributes()
    {
        $attrs = parent::getAttributes();

        $attrs['class'] = $attrs['class'] . ' userform';
        $attrs['data-livevalidation'] = (bool)$this->controller->EnableLiveValidation;
        $attrs['data-toperrors'] = (bool)$this->controller->DisplayErrorMessagesAtTop;

        return $attrs;
    }
public function getAttributes ( ) { $ attrs = parent :: getAttributes ( ) ; $ attrs [ 'class' ] = $ attrs [ 'class' ] . ' userform' ; $ attrs [ 'data-livevalidation' ] = ( bool ) $ this -> controller -> EnableLiveValidation ; $ attrs [ 'data-toperrors' ] = ( bool ) $ this -> controller -> DisplayErrorMessagesAtTop ; return $ attrs ; }
Override some we can add UserForm specific attributes to the form.

@return array
Override some we can add UserForm specific attributes to the form .