protected function getFormActionUri()
    {
        /** @var ActionRequest $actionRequest */
        $actionRequest = $this->controllerContext->getRequest();
        $uri = $actionRequest->getHttpRequest()->getUri();
        if ($this->hasArgument('section')) {
            $uri = preg_replace('/#.*$/', '', $uri) . '#' . $this->arguments['section'];
        }
        return (string)$uri;
    }
protected function getFormActionUri()
    {
        /** @var ActionRequest $actionRequest */
        $actionRequest = $this->controllerContext->getRequest();
        $uri = $actionRequest->getHttpRequest()->getUri();
        if ($this->hasArgument('section')) {
            $uri = preg_replace('/#.*$/', '', $uri) . '#' . $this->arguments['section'];
        }
        return (string)$uri;
    }
protected function getFormActionUri ( ) { /** @var ActionRequest $actionRequest */ $ actionRequest = $ this -> controllerContext -> getRequest ( ) ; $ uri = $ actionRequest -> getHttpRequest ( ) -> getUri ( ) ; if ( $ this -> hasArgument ( 'section' ) ) { $ uri = preg_replace ( '/#.*$/' , '' , $ uri ) . '#' . $ this -> arguments [ 'section' ] ; } return ( string ) $ uri ; }
Overrides the forms action URI to be the same as the currently requested URI

@return string
Overrides the forms action URI to be the same as the currently requested URI