public function wasSubmitted()
    {
        // If form was not (yet) populated, we can not use isChecked() so do this manually
        $request = $this->getRequest();
        if ($request->isPost() && strlen(trim($request->getPost($this->_submitFieldName)))) {
            return true;
        } else {
            return false;
        }
    }
public function wasSubmitted()
    {
        // If form was not (yet) populated, we can not use isChecked() so do this manually
        $request = $this->getRequest();
        if ($request->isPost() && strlen(trim($request->getPost($this->_submitFieldName)))) {
            return true;
        } else {
            return false;
        }
    }
public function wasSubmitted ( ) { // If form was not (yet) populated, we can not use isChecked() so do this manually $ request = $ this -> getRequest ( ) ; if ( $ request -> isPost ( ) && strlen ( trim ( $ request -> getPost ( $ this -> _submitFieldName ) ) ) ) { return true ; } else { return false ; } }
True when this form was submitted.

@return boolean
True when this form was submitted .