protected function getSubmittedFormValues()
    {
        $result = [];
        $formName = $this->getFormObject()->getName();
        $originalRequest = $this->getControllerContext()
            ->getRequest()
            ->getOriginalRequest();

        if (null !== $originalRequest
            && $originalRequest->hasArgument($formName)
        ) {
            $result = $originalRequest->getArgument($formName);
        }

        return $result;
    }
protected function getSubmittedFormValues()
    {
        $result = [];
        $formName = $this->getFormObject()->getName();
        $originalRequest = $this->getControllerContext()
            ->getRequest()
            ->getOriginalRequest();

        if (null !== $originalRequest
            && $originalRequest->hasArgument($formName)
        ) {
            $result = $originalRequest->getArgument($formName);
        }

        return $result;
    }
protected function getSubmittedFormValues ( ) { $ result = [ ] ; $ formName = $ this -> getFormObject ( ) -> getName ( ) ; $ originalRequest = $ this -> getControllerContext ( ) -> getRequest ( ) -> getOriginalRequest ( ) ; if ( null !== $ originalRequest && $ originalRequest -> hasArgument ( $ formName ) ) { $ result = $ originalRequest -> getArgument ( $ formName ) ; } return $ result ; }
Will fetch the values of the fields of the submitted form, if a form has
been submitted.

@return array
Will fetch the values of the fields of the submitted form if a form has been submitted .