src/Helpers/Form.php
protected function getSubmittedValue($name, $default = null)
    {
        if (empty($this->submittedValues)) {
            $this->setSubmittedValues();
        }
        return array_key_exists($name, $this->submittedValues) ? $this->submittedValues[$name] : $default;
    }
protected function getSubmittedValue($name, $default = null)
    {
        if (empty($this->submittedValues)) {
            $this->setSubmittedValues();
        }
        return array_key_exists($name, $this->submittedValues) ? $this->submittedValues[$name] : $default;
    }
protected function getSubmittedValue ( $ name , $ default = null ) { if ( empty ( $ this -> submittedValues ) ) { $ this -> setSubmittedValues ( ) ; } return array_key_exists ( $ name , $ this -> submittedValues ) ? $ this -> submittedValues [ $ name ] : $ default ; }
Returns a submitted value.

@param string $name
The name of the value to return
@param string|null $default
The default to return when this value was not submitted.

@return string|null
The submitted value, or the default if the value was not submitted.
Returns a submitted value .